mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-08 10:25:16 -05:00
Refactored ui code to work with new state base player
This commit is contained in:
@@ -53,7 +53,7 @@ public class NitroStateManager : NetworkBehaviour
|
||||
parentObj = transform.parent.gameObject; // set parent object
|
||||
animator = GetComponent<Animator>(); // set animator
|
||||
animationManager = GetComponent<AnimationManager>();
|
||||
//driver = GameObject.Find("Canvas").GetComponent<CoolDown>();
|
||||
driver = GameObject.Find("PlayerCanvas").GetComponent<CoolDown>();
|
||||
////
|
||||
|
||||
////Initialize Scripts
|
||||
|
||||
Reference in New Issue
Block a user