private void OnEnable() { combat = GameObject.Find("Wolk").GetComponentInChildren <WolkCombat>(); anim = GameObject.Find("Wolk").GetComponentInChildren <Animator>(); dialogue = GameObject.Find("Wolk").GetComponent <DialogueControl>(); points = combat.dawgPoints; }
private void OnEnable() { combat = GameObject.Find("Wolk").GetComponentInChildren<WolkCombat>(); anim = GameObject.Find("Wolk").GetComponentInChildren<Animator>(); }