private void Awake() { unit = GetComponent <Kobold>(); anim = GetComponentInChildren <KoboldAnimCtrl>(); Assert.IsNotNull(unit); Assert.IsNotNull(anim); }
private void Awake() { _koboldSM = GetComponentInParent <KoboldSM>(); _anim = GetComponentInParent <KoboldAnimCtrl>(); }