Nitro has been State Machined

This commit is contained in:
Melbyj1125
2022-02-15 23:05:05 -06:00
parent e2438dc364
commit ccbcbab71f
8 changed files with 61 additions and 20 deletions

View File

@@ -109,8 +109,6 @@ public class InvSceneSettings : MonoBehaviour
//Enables Script on player
//NEEDS TO BE CLEANED UP AND IMPROVED
public void itemToEnable(){
if(pStats.HasBlink != player1.GetComponent<dBlink>().enabled)
player1.GetComponent<dBlink>().enabled = pStats.HasBlink;
if(pStats.HasDash != player1.GetComponent<dDash>().enabled)
player1.GetComponent<dDash>().enabled = pStats.HasDash;
if(pStats.HasWallrun != player1.GetComponent<dWallRun>().enabled)