Ejemplo n.º 1
0
 public void HideSelf()
 {
     actHideSelf = MFUIUtils.SafeDoAction(OgreMustDieTipViewManager.Instance, () =>
     {
         OgreMustDieTipViewManager.Instance.HideSelf();
     });
 }
 public void StopCountDown()
 {
     m_actStopCountDown = MFUIUtils.SafeDoAction(BattlePassCardListUIViewManager.Instance, () =>
     {
         BattlePassCardListUIViewManager.Instance.StopCountDown();
     });
 }
 public void SetUIDirty()
 {
     actDirty = MFUIUtils.SafeDoAction(EquipFXUIViewManager.Instance, () =>
     {
         EquipFXUIViewManager.Instance.SetUIDirty();
     });
 }
Ejemplo n.º 4
0
 public void SetUIDirty()
 {
     act = MFUIUtils.SafeDoAction(OgreMustDieTipViewManager.Instance, () =>
     {
         OgreMustDieTipViewManager.Instance.SetUIDirty();
     });
 }
Ejemplo n.º 5
0
 public void SetUIDirty()
 {
     actDirty = MFUIUtils.SafeDoAction(WingUIBuyDialogViewManager.Instance, () =>
     {
         WingUIBuyDialogViewManager.Instance.SetUIDirty();
     });
 }
 public void SetUIDirty()
 {
     act = MFUIUtils.SafeDoAction(InvitFriendMessageBoxViewManager.Instance, () =>
     {
         InvitFriendMessageBoxViewManager.Instance.SetUIDirty();
     });
 }
Ejemplo n.º 7
0
 public void SetUIDirty()
 {
     act = MFUIUtils.SafeDoAction(BattlePassUINoCardUIViewManager.Instance, () =>
     {
         BattlePassUINoCardUIViewManager.Instance.SetUIDirty();
     });
 }
 public void SetLeftBtnEnable(bool isEnable)
 {
     m_actLeftBtnEnable = MFUIUtils.SafeDoAction(EnterWaittingMessageBoxViewManager.Instance,
                                                 () =>
     {
         EnterWaittingMessageBoxViewManager.Instance.SetLeftBtnEnable(isEnable);
     });
 }
Ejemplo n.º 9
0
 public void ShowTipBuyBtn(bool isShow)
 {
     showTipUpgradeBtn = MFUIUtils.SafeDoAction(WingUIViewManager.Instance,
                                                () =>
     {
         WingUIViewManager.Instance.ShowTipBuyBtn(isShow);
     });
 }
Ejemplo n.º 10
0
 public override void MFUIPress(bool isPressed)
 {
     if (!isPressed)
     {
         m_bIsDragging = false;
         MFUIUtils.SafeDoAction(DragCamera, () => { DragCamera.CameraMove(m_vec2Dir); });
     }
 }
 public void ShowResetBtn(bool isShow)
 {
     ShowResetBtnAct = MFUIUtils.SafeDoAction(WingUIPreviewInMarketUIViewManager.Instance,
                                              () =>
     {
         WingUIPreviewInMarketUIViewManager.Instance.ShowResetBtn(isShow);
     });
 }
    public void SetUIDirty(int specialCode = 0)
    {
        currentCode = specialCode;

        act = MFUIUtils.SafeDoAction(EnterWaittingMessageBoxViewManager.Instance, () =>
        {
            EnterWaittingMessageBoxViewManager.Instance.SetUIDirty();
        });
    }
 public void SetUIDirty()
 {
     dirtyAct = MFUIUtils.SafeDoAction(WingUIPreviewInMarketUIViewManager.Instance,
                                       () => { WingUIPreviewInMarketUIViewManager.Instance.SetUIDirty(); });
 }
 public void ShowGetBtn(bool isShow)
 {
     showGetBtnAct = MFUIUtils.SafeDoAction(NewChargeRewardUIViewManager.Instance,
                                            () => { NewChargeRewardUIViewManager.Instance.ShowGetBtn(isShow); });
 }
 public void SetProgressSize(float size)
 {
     prgressSizeAct = MFUIUtils.SafeDoAction(NewChargeRewardUIViewManager.Instance,
                                             () => { NewChargeRewardUIViewManager.Instance.SetProgressSize(size); });
 }
 public void ShowAsCharged(bool isCharged)
 {
     chargedAct = MFUIUtils.SafeDoAction(NewChargeRewardUIViewManager.Instance,
                                         () => { NewChargeRewardUIViewManager.Instance.ShowAsCharged(isCharged); });
 }
 public void ResetStatus()
 {
     m_actResetStatus = (System.Action)MFUIUtils.SafeDoAction(EnterWaittingMessageBoxViewManager.Instance,
                                                              () => { EnterWaittingMessageBoxViewManager.Instance.ResetAllStatus(); });
 }
Ejemplo n.º 18
0
 public void ClearRewardList()
 {
     clearAct = MFUIUtils.SafeDoAction(ProtectGodressTipViewManager.Instance,
                                       () => { ProtectGodressTipViewManager.Instance.ClearRewardList(); });
 }
 public void SetProgressGridText(string text, int id)
 {
     setGridPriceAct = MFUIUtils.SafeDoAction(NewChargeRewardUIViewManager.Instance,
                                              () => { NewChargeRewardUIViewManager.Instance.SetProgressGridText(text, id); });
 }
Ejemplo n.º 20
0
 public void SetBuyDialogAttr(string attr, int id)
 {
     m_listActAttr.Add(MFUIUtils.SafeDoAction(WingUIBuyDialogViewManager.Instance,
                                              () => { WingUIBuyDialogViewManager.Instance.SetBuyDialogAttr(attr, id); }));
 }
Ejemplo n.º 21
0
 public void SetUpgradeDialogCurrentAttr(string attr, int id)
 {
     m_listActSetCurrentAttr.Add(MFUIUtils.SafeDoAction(WingUIUpgradeDialogViewManager.Instance, () =>
                                                        { WingUIUpgradeDialogViewManager.Instance.SetUpgradeDialogCurrentAttr(attr, id); }));
 }
 public void ShowDiamondBtn(bool isShow)
 {
     m_actShowDiamondBtn = MFUIUtils.SafeDoAction(EnterWaittingMessageBoxViewManager.Instance,
                                                  () => { EnterWaittingMessageBoxViewManager.Instance.ShowDiamondBtn(isShow); });
 }
Ejemplo n.º 23
0
 public void ShowItem1GetBtn(bool isShow)
 {
     showItem1GetBtnAct = MFUIUtils.SafeDoAction(ChargeReturnWingUIViewManager.Instance,
                                                 () => { ChargeReturnWingUIViewManager.Instance.ShowItem1GetBtn(true); });
 }
Ejemplo n.º 24
0
 public void SetUIDirty()
 {
     dirtyAct = MFUIUtils.SafeDoAction(ChargeReturnWingUIViewManager.Instance,
                                       () => { ChargeReturnWingUIViewManager.Instance.SetUIDirty(); });
 }
Ejemplo n.º 25
0
 public void SetUIDirty()
 {
     dirtyAct = MFUIUtils.SafeDoAction(ElfDiamondUIViewManager.Instance,
                                       () => { ElfDiamondUIViewManager.Instance.SetUIDirty(); });
 }
 public void ShowProgressGridIconHighLight(bool isHighLight, int id)
 {
     setGridHighLightAct = MFUIUtils.SafeDoAction(NewChargeRewardUIViewManager.Instance,
                                                  () => { NewChargeRewardUIViewManager.Instance.ShowProgressGridIconHighLight(isHighLight, id); });
 }
Ejemplo n.º 27
0
 public void SetUIDirty()
 {
     dirtyAct = MFUIUtils.SafeDoAction(ProtectGodressTipViewManager.Instance,
                                       () => { ProtectGodressTipViewManager.Instance.SetUIDirty(); });
 }
 public void SetUIDirty()
 {
     dirtyAct = MFUIUtils.SafeDoAction(NewChargeRewardUIViewManager.Instance,
                                       () => { NewChargeRewardUIViewManager.Instance.SetUIDirty(); });
 }
Ejemplo n.º 29
0
 public void SetTipText(int id, string text)
 {
     setTipTextAct = MFUIUtils.SafeDoAction(ProtectGodressTipViewManager.Instance,
                                            () => { ProtectGodressTipViewManager.Instance.SetTipText(id, text); });
 }
Ejemplo n.º 30
0
 public void PlayAnim(bool isMVP)
 {
     m_actMVPAnim = MFUIUtils.SafeDoAction(BattlePassUINoCardUIViewManager.Instance,
                                           () => { BattlePassUINoCardUIViewManager.Instance.PlayAnim(isMVP); });
 }