So here’s the deal: I have a game and in it you are playing as a cube and you can travel between rooms and once you enter a trigger, it will load a new scene(room) and your position will be set and DontDestroyOnLoad is called for the player object so that things that you have done to your player should not be destroyed, like color, since there is a cheat for changing color, and shape, since you can enter a cheat and become a ball instead of a cube.
Now, the problem is if you enter the cheat to become a ball, and you enter a new room, the cube-model gets enabled again for some reason even though it shouldn’t.
Why is this happening? Could there be a problem with my cheat script?
LoadLevel-Script: JustPaste.it - Share Text & Images the Easy Way
Cheats-script: JustPaste.it - Share Text & Images the Easy Way