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

        RegisterCallbacks();
    }
Beispiel #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();
    }
Beispiel #4
0
 private void Start()
 {
     walker = GetComponent <Walker>();
     target = GetComponent <Target_AI>();
 }
Beispiel #5
0
 private void Start()
 {
     target = GetComponent <Target_AI>();
 }