コード例 #1
0
 public void DirectionBindings(float x, float y)
 {
     if (canMove)
     {
         _currentActionState.MovementInput(x, y);
     }
     else
     {
         _rigidbody.velocity = new Vector2(0.0f, 0.0f);
     }
 }
コード例 #2
0
 public void DirectionBindings(float x, float y)
 {
     _currentActionState.MovementInput(x, y);
 }