Exemple #1
0
 public void FixedExecute(float deltaTime)
 {
     _newVelocity = _aiModel.CalculateVelocity(_view.transform.position) * deltaTime;
     _view.Rigidbody2D.velocity = _newVelocity;
     MakeTurn();
     _animator.Execute(deltaTime);
 }
Exemple #2
0
 public void FixedExecute(float deltaTime) => _playerAnimator.Execute(deltaTime);
Exemple #3
0
 public void Execute(float deltaTime) => _coinsAnimator.Execute(deltaTime);