Example #1
0
 private void FixedUpdate()
 {
     if (!mover)
     {
         Debug.LogError("missing mover", this.gameObject);
     }
     mover.Move(xDirection * Vector2.right + Vector2.down);
     onFixedUpdate.Invoke();
 }
Example #2
0
 void FixedUpdate()
 {
     mover.Move(PlayerDirectionImput);
 }