Пример #1
0
 internal float Jump(Vector3 startPosition, float startTime, Vector2 movementInput)
 {
     return(movementScript.Jump(startPosition, startTime, movementInput));
     //animationScript.PlayJump();
 }
Пример #2
0
 internal void Jump(bool walking, float jumpTimer, Vector2 movementInput)
 {
     movementScript.Jump(walking, jumpTimer, movementInput);
     animationScript.PlayJump();
 }