public void OnLevelWasInitialized(int level) { if (level != SongLoader.MenuIndex) { return; } SongLoader.OnLoad(); }
public void OnSceneLoaded(Scene scene, LoadSceneMode sceneMode) { if (scene.buildIndex != SongLoader.MenuIndex) { return; } SongLoader.OnLoad(); }
private void OnMenuSceneEnabled() { SongLoader.OnLoad(); }