Exemple #1
0
    void FixedUpdate()
    {
        float horizontalVelocity = Input.GetAxis("Horizontal");

        abilityScript.Move(horizontalVelocity, true);
        Jump();
    }
Exemple #2
0
 void FixedUpdate()
 {
     abilityScript.Move(walkingDirection, false);
 }