Refactored ui code to work with new state base player

This commit is contained in:
Evan Nydahl
2022-03-09 13:52:34 -06:00
parent 7ae4b643a1
commit 51056bc3d5
24 changed files with 1307 additions and 440 deletions

View File

@@ -36,8 +36,11 @@ public class dNitroCooldownState : dNitroBaseState
//cooldown timer
private IEnumerator startCoolDown(dNitroStateManager nSM){
//nSM.driver.startUICooldown("Nitro");
Debug.Log("Hello");
nSM.driver.startUICooldown("Nitro");
Debug.Log("DE");
yield return new WaitForSeconds(nSM.nitroItem.cooldownM);
Debug.Log("Done");
cooldown = true;
}
}