Some things dont reset when I want them to
So me and my friend are trying to make a little maze game together (we are both beginners to coding and unity) where you control a player and have to navigate towards the end of the level. After each level we use SceneManager.LoadScene (currentlevel); with a variable, and the same when the player "dies". However, on of the obstacles is supposed to be a long wall that fallows the player down the Z axis, and kills the player if they collide, or the player messed up and hits another obstacle. What happens though is when I reload the scene, my wall does not get reset to its original position. I was wondering if there was any way to fix this?
Your answer
Follow this Question
Related Questions
How to deal with repetetive code? 2 Answers
Looking for advice about how to streamline my code (avoid repetition) 0 Answers
Please explain Unity basics to me. 1 Answer
How to apply collision detection to a Circular (round/curvy) Labyrinth 1 Answer
[SOLVED] Constructors with unexpected default values 1 Answer