void Update() { if (player == null) { return; } currentState.UpdateState(); }
// Update is called once per frame void Update() { currentState.UpdateState(); }