Esempio n. 1
0
 public void OnDiceBtnClick(int Num)
 {
     InputBlockerManager.Instance.Block(InputBlockReason.FUSION_BLOCK_UI_INTERACTION, 0.5f);
     if (LTGeneralInstanceHudController.Instance != null)
     {
         LTMonopolyInstanceHudController temp = LTGeneralInstanceHudController.Instance as LTMonopolyInstanceHudController;
         if (temp != null)
         {
             temp.OnDiceRequest(Num);
         }
     }
     controller.Close();
 }
Esempio n. 2
0
        protected override void OnNavClick()
        {
            if (AllianceUtil.GetIsInTransferDart(null))
            {
                return;
            }

            InputBlockerManager.Instance.Block(InputBlockReason.FUSION_BLOCK_UI_INTERACTION, 2);
            System.Action act = new System.Action(delegate
            {
                LTMonopolyInstanceHudController.EnterInstance();
            });
            UIStack.Instance.ShowLoadingScreen(act, false, true, true);
        }