noob
New Member
Posts: 2
|
Post by noob on Aug 9, 2023 3:42:14 GMT
Hi. First of all thank you for the great tutorials.
So, i was trying to reload the game so the player can play again. However, just reload the scene doesn't work. The player variables are not reseted an so on.
Can you tell me how is the proper way to do that? I have to reset all of these variables manually?
|
|
noob
New Member
Posts: 2
|
Post by noob on Aug 9, 2023 16:35:14 GMT
Upon further inspection, i discovered that reloading the scene just destroy and create all game objects again. So, our container system doest get reseted. So calling "container.Destroy();" before restarting the scene do the trick.
|
|