I’m making a fire, on which when you step in it you die and restart, i figured the best way to do this is by making a box around the fire, and telling the script that when you enter you restart, any way how to do this? Thanks in advance!
Well, you explain the way in your question. Create an empty gameObject with a box collider, set isTrigger to true, setup the size properly, create a script that implements OnTriggerEnter and call Application.LoadLevel if it’s the player that enters, then attach it to that box. Done.