void OnClickToTitle()
    {
#if false
        Application.LoadLevel("Title");
#else
        ScenarioCtrl.PlayScenario(Application.loadedLevelName, "Title");
#endif
        ToggleActiveMenuPanel();
    }
Beispiel #2
0
 // if info's ScenarioNode found in this Level, then play that.
 static public void PlayScenario(ViNoSaveInfo info)
 {
     ScenarioCtrl.PlayScenario(info);
 }
Beispiel #3
0
 static public void PlayScenario(string scenarioResourcePath)
 {
     ScenarioCtrl.PlayScenario(Application.loadedLevelName, scenarioResourcePath);
 }