mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
Adjustments
1. Adjusted player indicators and added a line 2. Reapplied game objects to dash and nitro 3. Readjust keybindings for nitro and dash
This commit is contained in:
@@ -33,7 +33,7 @@ public class dDash : NetworkBehaviour{
|
||||
void DashPlayer(){
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if(characterController.enabled == true){
|
||||
if (Input.GetKeyDown(KeyCode.R) && isOnCoolDown == false)
|
||||
if ((Input.GetKeyDown(KeyCode.E) || Input.GetAxis("Dash") != 0) && isOnCoolDown == false)
|
||||
{
|
||||
currentDashTime = 0;
|
||||
StartCoroutine(startCoolDown());
|
||||
|
||||
Reference in New Issue
Block a user