void Awake() { minCtrlScrpt = GetComponent<MinionController>(); animator = GetComponent<RpcNetworkAnimator>(); container = transform.Find("Rotation"); path = new List<Vector2>(); isStunned = false; slowDownMod = 1.0f; // Gets slowed UI and disables it. if (SlowedUI == null) { SlowedUI = transform.GetChild(1).gameObject; if (SlowedUI == null) { Debug.Log(this.gameObject + " did not find its SLOWED UI"); } // Deactivate Slowed UI minCtrlScrpt.RpcSetSlowedUiActive(false); } }