- create a new game object called game controller
- tag the object as game controller
- add a new script to the game controller
- add this code
- in unity set the hazard and the spawn point location, as i have 2 hazards in my game this looks a little bit different but i will explain that in a later post
No comments:
Post a Comment