void DashUpdate()
    {
        playerBehaviour.SetBasicAttackTransform(null, false);

        destination = hitPosition;
        playerBehaviour.Dash(destination);
    }
Example #2
0
 void InputDash()
 {
     if (Input.GetButtonDown("Dash"))
     {
         Debug.Log("Dash");
         player.Dash();
     }
 }