Beispiel #1
0
 void Start()
 {
     ToDestroy = WillBeDestroyed.GetComponent <NavMeshAgent>();
     script    = WillBeDestroyed.GetComponent <WayPointPatrol>();
 }
Beispiel #2
0
 private void Start()
 {
     AI     = GetComponent <WayPointPatrol>();
     player = GetComponent <Transform>();
 }