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

@@ -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");