Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     path    = PatrollingAI_Path.Instance;
     agent   = GetComponent <NavMeshAgent>();
     radius += agent.radius;
     SetNewDestination();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     Instance = this;
 }