Пример #1
0
 void Start()
 {
     Facade.instance.RegisterCommand(StartupCommand.NAME, typeof(StartupCommand));
     Facade.instance.SendNotification(StartupCommand.NAME);
     if (scene != null)
     {
         scene.Launch();
     }
 }
Пример #2
0
        protected override void OnEntireLevelComplete()
        {
            Facade.instance.SendNotification(NotiConst.Open_BattleMain);

            DungeonBattleScene scene = GameObject.FindObjectOfType <DungeonBattleScene>();

            scene.LevelId = 10001;
            if (scene != null)
            {
                scene.Launch();
            }
        }