fix error spam in edit mode
This commit is contained in:
parent
28b8b860d1
commit
f1c9f8a752
|
@ -54,7 +54,7 @@ public class PlayerController : MonoBehaviour
|
|||
private bool _grounded;
|
||||
|
||||
[ShowNativeProperty]
|
||||
private bool Still => Mathf.Approximately( _inputHandler?.InputState.Move.Value.sqrMagnitude ?? 0f, 0f );
|
||||
private bool Still => Mathf.Approximately(_inputHandler?.InputState?.Move.Value.sqrMagnitude ?? 0f, 0f);
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private float _boostTime;
|
||||
|
|
Loading…
Reference in New Issue