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

@@ -24,7 +24,7 @@ public class Nitro : MonoBehaviour
void Update()
{
//once cooldowns are implemented, put this on one (a long one)
if (Input.GetKeyDown(KeyCode.LeftShift) && isOnCoolDown == false && playerStats.HasNitro)
if ((Input.GetKeyDown(KeyCode.LeftShift) || Input.GetKeyDown(KeyCode.JoystickButton8)) && isOnCoolDown == false && playerStats.HasNitro)
{
isNitroing = true;