fix error spam in edit mode

This commit is contained in:
Cat Flynn 2021-02-18 17:24:15 +00:00
parent 28b8b860d1
commit f1c9f8a752
1 changed files with 2 additions and 2 deletions

View File

@ -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;