Exemple #1
0
 private void Start()
 {
     rangeObserverAi = GetComponent <RangeObserver_AI>();
     charge          = GetComponent <Charge>();
     targetAi        = GetComponent <Target_AI>();
     RegisterCallbacks();
 }
Exemple #2
0
    private void Start()
    {
        rangeObserver = GetComponent <RangeObserver_AI>();
        follower      = GetComponent <Follower_AI>();
        meleeAttaker  = GetComponent <MeleeAttacker_AI>();
        target        = GetComponent <Target_AI>();

        RegisterCallbacks();
    }
Exemple #3
0
    void Start()
    {
        rangeObserver = GetComponent <RangeObserver_AI>();
        shooter       = GetComponent <Shooter_AI>();
        follower      = GetComponent <Follower_AI>();
        keepDistance  = GetComponent <KeepDistanceWith>();
        target        = GetComponent <Target_AI>();

        /*Config*/
        keepDistance.distance = rangeObserver.minRange;

        RegisterCallbacks();
    }
Exemple #4
0
 private void Start()
 {
     walker = GetComponent <Walker>();
     target = GetComponent <Target_AI>();
 }
Exemple #5
0
 private void Start()
 {
     target = GetComponent <Target_AI>();
 }