/// @param levelIndex /// The index of the level to play /// @param callback /// The function to call if the level is starting /// public void RequestLevel(int levelIndex, Action callback = null) { LevelLocalDirector.s_levelData = m_levelLoader.GetLevel(levelIndex); // TODO TDA: show the level Popup callback.SafeInvoke(); m_sceneService.SwitchToScene(SceneIdentifiers.k_level, SceneIdentifiers.k_transition); }