예제 #1
0
    public void OpenRankUpChangeUI()
    {
        RankUpChangeUI rankUpChangeUI = UIManagerControl.Instance.OpenUI("RankUpChangeUI", UINodesManager.MiddleUIRoot, false, UIType.NonPush) as RankUpChangeUI;

        if (rankUpChangeUI)
        {
            rankUpChangeUI.SetData(this.CurType, this.CurCareer, this.CurStage, this.curStageFinishedTask);
        }
    }
예제 #2
0
    protected void TryUpdateStageChange()
    {
        RankUpChangeUI rankUpChangeUI = UIManagerControl.Instance.GetUIIfExist("RankUpChangeUI") as RankUpChangeUI;

        if (rankUpChangeUI)
        {
            rankUpChangeUI.SetData(this.CurType, this.CurCareer, this.CurStage, this.curStageFinishedTask);
        }
    }
예제 #3
0
 protected void TryUpdateCareerFinish(int preID, int curID)
 {
     if (UIManagerControl.Instance.IsOpen("RankUpChangeUI"))
     {
         RankUpChangeUI rankUpChangeUI = UIManagerControl.Instance.GetUIIfExist("RankUpChangeUI") as RankUpChangeUI;
         if (rankUpChangeUI)
         {
             rankUpChangeUI.SetData(this.CurType, this.CurCareer, this.CurStage, this.curStageFinishedTask);
         }
     }
     else
     {
         this.IsWaitForShowCareerFinish = true;
         this.WaitForShowPreCareer      = preID;
         this.WaitForShowCurCareer      = curID;
         if (UIManagerControl.Instance.IsOpen("TownUI"))
         {
             this.TryShowCareerFinishUI();
         }
     }
 }