예제 #1
0
 private void Awake()
 {
     mRigid         = GetComponent <Rigidbody>();
     mEntity        = GetComponent <AI_Controller>();
     mAnim          = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
     mModelFollower = UT_FindComponent.FindComponent <ObjectFollower>(gameObject);
 }
예제 #2
0
 private void Awake()
 {
     mRigid         = GetComponent <Rigidbody>();
     mEntity        = GetComponent <AI_Controller>();
     mAnim          = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
     mStunParticles = GetComponentInChildren <StunnedParticles>();
 }
예제 #3
0
 private void Awake()
 {
     mEntity   = GetComponent <AI_Controller>();
     mOrienter = GetComponent <AI_Orienter>();
     mRigid    = GetComponent <Rigidbody>();
     mAnim     = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
     mMover    = GetComponent <AI_MoveToGoal>();
 }
예제 #4
0
 private void Start()
 {
     mGrenadedLogic        = GetComponent <AI_GrenadedLogic>();
     mConResults           = GetComponent <TNK_Conditions>();
     mChargeLogic          = GetComponent <AI_ChargeLogic>();
     mAttackFromRangeLogic = GetComponent <AI_AttackFromRange>();
     mAnim = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
 }
예제 #5
0
 private void Start()
 {
     mGrenadedLogic     = GetComponent <AI_GrenadedLogic>();
     mConResults        = GetComponent <GRT_Conditions>();
     mAttackRangedLogic = GetComponent <AI_AttackFromRange>();
     mRetreatLogic      = GetComponent <AI_Retreat>();
     mAnim     = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
     mFlyLogic = GetComponent <AI_FlyLogic>();
 }
예제 #6
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>();
 }
예제 #7
0
 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);
 }
예제 #8
0
    private void Start()
    {
        mMeleeHitBox = UT_FindComponent.FindComponent <TNK_MeleeBox>(gameObject);
        mMeleeHitBox.gameObject.SetActive(false);

        mEntity   = GetComponent <AI_Controller>();
        mOrienter = GetComponent <AI_Orienter>();
        mRigid    = GetComponent <Rigidbody>();
        mAnim     = UT_FindComponent.FindComponent <AN_Enemies>(gameObject);
        mCannon   = UT_FindComponent.FindComponent <WP_TankGun>(gameObject);
        mMover    = GetComponent <AI_Mover>();

        mCachedDir = new Vector3();
    }