mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
Refactored ui code to work with new state base player
This commit is contained in:
@@ -54,7 +54,7 @@ public class dDash : NetworkBehaviour{
|
||||
private IEnumerator startCoolDown(){
|
||||
Debug.Log("start corotine");
|
||||
isOnCoolDown = true;
|
||||
//driver.startUICooldown(dashItem.name);
|
||||
driver.startUICooldown(dashItem.name);
|
||||
yield return new WaitForSeconds(dashItem.cooldownM);
|
||||
isOnCoolDown = false;
|
||||
Debug.Log("end corotine");
|
||||
|
||||
Reference in New Issue
Block a user