Example #1
0
 private void Start()
 {
     mGrenadedLogic        = GetComponent <AI_GrenadedLogic>();
     mConResults           = GetComponent <LNK_Conditions>();
     mStrafer              = GetComponent <AI_Strafer>();
     mAttackFromRangeLogic = GetComponent <AI_AttackFromRange>();
     mAnim   = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
     mShield = GetComponentInChildren <EnemyForceField>();
 }
 private void Awake()
 {
     mEntity   = GetComponent <AI_Controller>();
     mCons     = GetComponent <AI_Conditions>();
     mOrienter = GetComponent <AI_Orienter>();
     mStrafer  = GetComponent <AI_Strafer>();
     mGun      = GetComponentInChildren <WP_Gun>();
     mRigid    = GetComponent <Rigidbody>();
     mAnim     = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
 }