mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-07 09:55:24 -05:00
added some comments
This commit is contained in:
@@ -4,7 +4,6 @@ using UnityEngine;
|
||||
|
||||
public class DashCooldownState : DashBaseState
|
||||
{
|
||||
private CoolDown driver;
|
||||
bool cooldown = false;
|
||||
|
||||
public override void EnterState(DashStateManager dSM, DashBaseState previousState){
|
||||
@@ -30,7 +29,7 @@ public class DashCooldownState : DashBaseState
|
||||
}
|
||||
|
||||
private IEnumerator startCoolDown(DashStateManager dSM){
|
||||
//driver.startUICooldown(dashItem.name);
|
||||
//dSM.driver.startUICooldown(dashItem.name);
|
||||
yield return new WaitForSeconds(dSM.dashItem.cooldownM);
|
||||
cooldown = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user