Hello everyone, how to load the scene with default settings and data? SceneManager.LoadScene ("sceneName"); loads the scene, but it only works when you first start, then if you repeat this procedure after playing a little, it will load the scene with your progress last time
- What does "with your progress last time" mean? .LoadScene loads the scene just with the initial settings, but if you have, for example, the static health variable is not set to zero - so such things should be pens to default values - MikeL
- Already figured out, I thought that for this there is a separate function in Unity, but thanks for the answer. - Grigory Tatarinov
|