I’m using the c# code listed here:
http://docs.unity3d.com/Manual/nav-AgentPatrol.html
I’m am a noob to coding and unity. I’m trying to make an enemy patrol a path on a very basic project for my programming class. I’ve already baked a navmesh and I get that I need empty game objects as points for my enemy to travel to. I have 3 set up but there are no public variables showing up on my enemy so that I can select the points to patrol to. We haven’t covered arrays yet and I understand that Transfrom[ ] is an array but the documentation on the website reads as if all I have to do is plug in the code and select the points in the inspector. I’ve searched the forum and I’ve found other sample codes that I believe do the same thing but they are WAY WAY out of the scope of what we’ve learned in class.