Пример #1
0
        public void OnEquipLevelUpBtnClick()
        {
            FusionAudio.PostEvent("UI/General/ButtonClick");
            controller.Close();

            if (!LTPartnerEquipMainController.m_Open)
            {
                InputBlockerManager.Instance.Block(InputBlockReason.FUSION_BLOCK_UI_INTERACTION, 0.5f);
                var ht = Johny.HashtablePool.Claim();
                ht.Add("partnerData", LTPartnerEquipMainController.CurrentPartnerData);
                ht.Add("equipType", equipType);
                ht.Add("equipId", firstController.data.Eid);
                GlobalMenuManager.Instance.Open("LTPartnerEquipmentUI", ht);
                return;
            }

            if (LTPartnerEquipMainController.instance.CurrentEquipmentViewState == LTPartnerEquipMainController.EquipmentViewState.SynthesisView)
            {
                EquipmentInfoEven.SelectEquipIDBySyn(firstController.data.Eid);
                return;
            }

            EquipmentInfoEven.SelectEquipmentID(firstController.data.Eid);
        }
Пример #2
0
 public void OnEquipSynPutInOutBtnClick()
 {
     FusionAudio.PostEvent("UI/General/ButtonClick");
     controller.Close();
     EquipmentInfoEven.SelectEquipmentID(firstController.data.Eid);
 }