Beispiel #1
0
 private void Start()
 {
     _patrolAi     = GetComponent <PatrolAi>();
     _attackAi     = GetComponent <AttackAi>();
     _navMeshAgent = GetComponent <NavMeshAgent>();
     _pathToTarget = new NavMeshPath();
 }
 private void Start()
 {
     _followAi    = GetComponent <FollowAi>();
     _attackAi    = GetComponent <AttackAi>();
     _navMeshPath = new NavMeshPath();
 }