mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-07 01:45:17 -05:00
added some comments
This commit is contained in:
@@ -4,7 +4,6 @@ using UnityEngine;
|
||||
|
||||
public class NitroCooldownState : NitroBaseState
|
||||
{
|
||||
|
||||
bool cooldown = false;
|
||||
|
||||
public override void EnterState(NitroStateManager nSM, NitroBaseState previousState){
|
||||
@@ -30,7 +29,7 @@ public class NitroCooldownState : NitroBaseState
|
||||
}
|
||||
|
||||
private IEnumerator startCoolDown(NitroStateManager nSM){
|
||||
//driver.startUICooldown("Nitro");
|
||||
//nSM.driver.startUICooldown("Nitro");
|
||||
yield return new WaitForSeconds(nSM.nitroItem.cooldownM);
|
||||
cooldown = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user