private void Update()
 {
     movement.Move(physicStats.speed, Vector2.right);
     if (goUp)
     {
         movement.Jump(physicStats.height);
     }
 }
예제 #2
0
 private static void Jump_performed(InputAction.CallbackContext context)
 {
     _movementComponent.Jump();
 }
 private static void Jump_performed()
 {
     _movementComponent.Jump();
 }