Esempio n. 1
0
 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";
 }
Esempio n. 2
0
 public SceneHelper()
 {
     m_manager = new SMSceneManager(SMSceneConfigurationLoader.LoadActiveConfiguration("SceneConfig"));
     m_manager.LevelProgress = new SMLevelProgress(m_manager.ConfigurationName);
     //m_manager.SetTransitionPrefab(TransitionType.SMBlindsTransition);
 }