Example #1
0
 private void OnButtonGetClick()
 {
     if (transAnim != null)
     {
         UniversalTool.CancelPopAnim(transAnim, () => {
             manorRegionComponent.OnWorkSheldRewardGet(awardIds, regionUnLockDialogEndSucc);
             UIComponent.RemoveUI(UIType.UIManorUnlockReward);
             //刷新装饰物
             if (UIComponent.IsHaveUI(UIType.UIManor))
             {
                 UIComponent.GetComponentHaveExist <UIManorComponent>(UIType.UIManor).RefreshDecorateList();
             }
         });
     }
 }