public virtual void Tick() { if (CurrentStateBehaviour != null) { CurrentStateBehaviour.Tick(); } }
public void Update() { if (_currentStateBehaviour != null) { _currentStateBehaviour.Tick(); } }
public virtual void Tick() { CurrentStateBehaviour?.Tick(); }
public void Update() { _currentStateBehaviour?.Tick(); }