fix error spam in edit mode
This commit is contained in:
parent
28b8b860d1
commit
f1c9f8a752
|
@ -52,9 +52,9 @@ public class PlayerController : MonoBehaviour
|
||||||
|
|
||||||
[ShowNonSerializedField]
|
[ShowNonSerializedField]
|
||||||
private bool _grounded;
|
private bool _grounded;
|
||||||
|
|
||||||
[ShowNativeProperty]
|
[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]
|
[ShowNonSerializedField]
|
||||||
private float _boostTime;
|
private float _boostTime;
|
||||||
|
|
Loading…
Reference in New Issue