Exemple #1
0
 void ActivateDash()
 {
     controller.playerInfo.onDash       = true;
     controller.playerInfo.inputEnabled = false;
     controller.BoostMovement(controller.playerInfo.moveSpeed * dashSpeedMultiplier, 0f);
     source.PlayOneShot(dash, 1);
 }