Пример #1
0
 public virtual void Tick()
 {
     if (CurrentStateBehaviour != null)
     {
         CurrentStateBehaviour.Tick();
     }
 }
Пример #2
0
 public void Update()
 {
     if (_currentStateBehaviour != null)
     {
         _currentStateBehaviour.Tick();
     }
 }
 public virtual void Tick()
 {
     CurrentStateBehaviour?.Tick();
 }
Пример #4
0
 public void Update()
 {
     _currentStateBehaviour?.Tick();
 }