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:
Evan Nydahl
2022-02-04 15:20:50 -06:00
parent 83efaf4a34
commit b61cf12128
10 changed files with 509 additions and 114 deletions

View File

@@ -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());