S
S
Serpent242020-12-04 17:51:39
Unity
Serpent24, 2020-12-04 17:51:39

How to implement the Start / Restart screen like in Pokey Ball?

How to implement a restart screen like in Pokey Ball?
That is, when you lose, the screen dims slightly, and the inscription tap to restart is displayed, and when you click anywhere on the screen, the level restarts. It needs to be all on the same stage.
I tried to do it through SceneManager.LoadScene(SceneManager.GetActiveScene().name); Accordingly, when I lose, the panel is displayed, but I don’t restart the level, but restart the scene and at the same time go to another level, and the panel is not hidden back.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question