public class LoadSceneLoader : MonoBehaviour
{
public GameSceneSO initializationScene;
void Start()
#if UNITY_EDITOR
for (int i = 0; i < SceneManager.sceneCount; ++i)
Scene scene = SceneManager.GetSceneAt(i);
}
SceneManager.LoadSceneAsync(initializationScene.sceneName, LoadSceneMode.Additive);
#endif
private void Start()
if(SceneManager.GetActiveScene().name == initializationScene.sceneName)
if (SceneManager.GetActiveScene().name == initializationScene.sceneName)
LoadMainMenu();