Hey Guys How to make a script '**private Transform Waypoint;**',
Hey Guys How to make a script 'private Transform Waypoint;' and I need to create lets say 5 gameObject named Waypoint,1,2....4,5 And those game objects after when reach lets say 'Waypoint1' needs to go to another 'Waypoint2' and so on. I have alreadt made 'public Transform[] waypoints;' but I need private One to exacly say to what object it needs to go because i need to attach it to prefab. If any one could help me i would be really Gratefull. :)
Your answer
Follow this Question
Related Questions
Instantiate prefab not in the correct position 1 Answer
Transform.position of object not the same as shown on the inspector 1 Answer
Colliders have a different postion to wheels want to reset colliders to have new postion origin 0 Answers
How to make a cylinder that dynamically connects two objects? 0 Answers