-prefab name: Waypoint
-the script will not be attached to the prefab but it will be attached to the camera: I want the camera to instantiate the prefab 'Waypoint' to the coordinate of the camera and with no particular rotation.
-if the above is not possible, then I would like to attach the script to prefab 'Waypoint' itself and instantiate the 'Waypoint' prefab to the coordinates of the camera: how can I do ?
asked Jun 22 '10 at 03:25 PM
//put this code in a java script and attach it to ur main camera
answered Jun 22 '10 at 03:28 PM
If you want the script to seed them repeatedly over time (not many uses in just creating one, before the game even reaches the first frame) then you can modify the script quite easily, as such:
answered Jun 22 '10 at 03:49 PM