Answer the question
In order to leave comments, you need to log in
Unity C# - How to restart a level when a character falls into an abyss?
Hello. I am a beginner learning Unity 3D writing in C#. I'm experimenting with one game. Now faced with the problem of how to restart the level (SceneManager.LoadScene(SceneManager.GetActiveScene().name)) when the main character falls into the abyss? Thank you in advance
PS How to restart the level, I understand, you need to check whether the character falls into the abyss or not ? And then reload the level.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question