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