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

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