void Start() { Facade.instance.RegisterCommand(StartupCommand.NAME, typeof(StartupCommand)); Facade.instance.SendNotification(StartupCommand.NAME); if (scene != null) { scene.Launch(); } }
protected override void OnEntireLevelComplete() { Facade.instance.SendNotification(NotiConst.Open_BattleMain); DungeonBattleScene scene = GameObject.FindObjectOfType <DungeonBattleScene>(); scene.LevelId = 10001; if (scene != null) { scene.Launch(); } }