- Home /
Question by
Sahkan · Mar 03, 2013 at 06:40 AM ·
navmeshnavmeshagentnav
How can i assign multiple navmeshagents in one script ?
As it seems i have to duplicate the script and put enemy in each one of them, is there anyway to make it more efficietly ?
Thanks .
Comment
Answer by dorpeleg · Mar 03, 2013 at 03:15 PM
You can have a script that will run trough all the enemy and give them the navmesh agent.
This won't be very efficient but it will work.
Your answer
![](https://koobas.hobune.stream/wayback/20220613093722im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
can Not open Window > Navigation 2018.2 1 Answer
How would I simulate a rectangular Nav Mesh Agent? 0 Answers
Navmesh Agent 0 Answers
How to visualize the nav mesh at runtime? 0 Answers
Nav mesh agent position 1 Answer