Пример #1
0
 public void Start()
 {
     agent    = GetComponent <NavMeshAgent>();
     rManager = GameObject.FindWithTag("RessourceManager").GetComponent <RessourceManager>();
     rManager.registerBot(this);
 }