How can I reset my level when the player walks on a specific floor in the game?


Sorry if this is asked before, but how can I reset the entire level if the player walks onto a specific floor in the game? I am new to Unity and not very good in the programming part of C# of Unity.

Thanks in advance,


you can make some cube, transform it into some rectangular form, then set trigger on it. It should be under feet, on floor. You can even disable mesh renderer. Add collider to it. set Trigger checkbox to make it trigger. and in OnTriggerEnter/Stay do your resetlevelfunction()

Hi @text23d

Thanks for your reply. Should I add an Event trigger or Activate trigger. I think an event trigger, but i do’nt know what to select next.

Thanks again.