Beispiel #1
0
    void ShowReward()
    {
        List <EquipmentInfo> list = GameCenter.treasureTroveMng.treasureRewardList;

        if (rewardUi != null)
        {
            rewardUi.CreateRewardItem(list);
        }
    }
Beispiel #2
0
    void ShowReward()
    {
        if (effect != null)
        {
            effect.SetActive(false);
        }
        List <EquipmentInfo> list = GameCenter.openServerRewardMng.taroatRewards;

        if (rewardUi != null)
        {
            rewardUi.gameObject.SetActive(true);
            rewardUi.CreateRewardItem(list);
        }
    }
Beispiel #3
0
 /// <summary>
 /// 刷新领奖界面
 /// </summary>
 /// <param name="_list"></param>
 void RefreshReward(List <EquipmentInfo> _list)
 {
     if (restActiveGo != null)
     {
         restActiveGo.SetActive(false);
     }
     if (normalGo != null)
     {
         normalGo.SetActive(false);
     }
     if (rewardGo != null)
     {
         rewardGo.SetActive(true);
         RoyalRewardUI royalRewardUI = rewardGo.GetComponent <RoyalRewardUI>();
         if (royalRewardUI != null)
         {
             royalRewardUI.CreateRewardItem(_list, GameCenter.royalTreasureMng.curGetRewardBoxData);
         }
     }
 }