Quantcast
Channel: Questions in topic: "follow"
Viewing all articles
Browse latest Browse all 536

Hey Guys How to make a script '**private Transform Waypoint;**',

$
0
0
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. :)

Viewing all articles
Browse latest Browse all 536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>