Question by
HyperAtom8 · Feb 05, 2017 at 12:09 AM ·
spawnrespawn
Cannot re-load current scene?
This is the problem I am having whenever I try to restart the level it just shows this in the hierachy
Im trying to make the scene restart when the players health reaches zero. Here is my script so far.
void Update () {
if (GameVariables.health < 1)
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex, LoadSceneMode.Single);
asdadadawdaw.png
(5.4 kB)
Comment