public SMGameEnvironment() { sceneManager = new SMSceneManager(SMSceneConfigurationLoader.LoadActiveConfiguration("Config")); sceneManager.LevelProgress = new SMLevelProgress(sceneManager.ConfigurationName); // Comment this in to enable the blinds transition type // sceneManager.TransitionPrefab = "Transitions/MyTransition"; }
public SceneHelper() { m_manager = new SMSceneManager(SMSceneConfigurationLoader.LoadActiveConfiguration("SceneConfig")); m_manager.LevelProgress = new SMLevelProgress(m_manager.ConfigurationName); //m_manager.SetTransitionPrefab(TransitionType.SMBlindsTransition); }