void DashUpdate() { playerBehaviour.SetBasicAttackTransform(null, false); destination = hitPosition; playerBehaviour.Dash(destination); }
void InputDash() { if (Input.GetButtonDown("Dash")) { Debug.Log("Dash"); player.Dash(); } }