Question by
ak127a · Oct 23, 2018 at 12:46 PM ·
navmeshnavmeshagent
How to draw path along a navmesh agent in android build?
Hi guys. I am a beginner , just started using unity. I am creating a Navmesh in which I have put some Buttons to go to a certain destination through a set of obstacles. Already read the thread here. It uses the OnDrawGizmos, which works only in the unity editor. I want the path to show in my android app , i.e , my build. What I want to do is that I want to create a path between my navmesh agent and the destination as soon as the user hits a button. Example : Let's say user selects Go to 1. Then , I want to see a path drawn between the agent and the destination. Thanks for reading!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612180820im_/https://answers.unity.com/themes/thub/images/avi.jpg)