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 dNitroStateManager : NetworkBehaviour
parentObj = transform.parent.gameObject; // set parent object
animator = GetComponent<Animator>(); // set animator
animationManager = GetComponent<dAnimationManager>();
//driver = GameObject.Find("Canvas").GetComponent<CoolDown>();
driver = GameObject.Find("PlayerCanvas").GetComponent<CoolDown>();
////
////Initialize Scripts