mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 09:54:28 -05:00
Nitro has been State Machined
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user