protected override void Awake() { base.Awake(); m_pathResult = new CTilePathResult(); m_brainComp = gameObject.GetComponent <CBrainComp>(); m_perceptionComp = gameObject.GetComponent <CAIPerceptionComp>(); }
protected override void OnDestroy() { base.OnDestroy(); m_brainComp = null; BlackBorad = null; InterestingTarget = null; m_perceptionComp = null; }