Esempio n. 1
0
    public override void ShowLoseUI()
    {
        base.ShowLoseUI();
        BattleLoseUI battleLoseUI = LinkNavigationManager.OpenBattleLoseUI();

        battleLoseUI.ShowBtnAgainBtn(false);
        battleLoseUI.ShowBtnDamageCal(false);
        battleLoseUI.ShowRecommendPower(false, 0);
        battleLoseUI.BtnExitAction = delegate
        {
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnAgainAction    = null;
        battleLoseUI.BtnEquipQuaAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_EQUIPQUALITY";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnEquipLvAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_EQUIPLEVEL";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnGemLvAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_GEMLEVEL";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnSkillAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_SKILL";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnPetLvAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_PETLEVEL";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnPetStarAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_PETSTRA";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnPetSkillAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_PETSKILL";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnGodSoldierAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_GODSOLDIER";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.BtnWingAction = delegate
        {
            SceneLoadedUISetting.CurrentType = "SHOW_WING";
            WildBossManager.Instance.ExitWildBoss();
        };
        battleLoseUI.OnCountDown(5, new Action(WildBossManager.Instance.ExitWildBoss));
    }