Question by
michaelrussellb · Dec 04, 2015 at 10:32 AM ·
scripting problemrestart game
I need help getting my players to reset with Application.LoadLevel
I have a simple maze game with two players. When the player dies and the game is over it takes you an end game scene with a button giving you the option to restart. I restart the level using Application.LoadLevel and whenever the game restarts, if a player previously died by an enemy, the player doesn't reset and the camera is just facing a blank area where the player should be. I feel like this is an easy fix, but honestly i'm just terrible at programming.
Comment
Are you DontDestroyOnLoad, if so, it's possible you're retaining references.