Thursday 21 August 2014

respawn script

Here is a very quick re-spawn script in Unity for my viking island, As I want to create a pit full of spikes in which you cant get out of I thought this would be the perfect idea for when the player falls in. I simply made the script, created a game object which is a trigger and placed it at the bottom of the pit. Then in the inspector on the game object I simply dragged my spawn point into the box.




No comments:

Post a Comment