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