Exemple #1
0
 private void InitUI()
 {
     this.btn_backLeft     = base.transform.Find("Left");
     this.btn_backRight    = base.transform.Find("Right");
     this.buyEquipmentItem = Resources.Load <BattleEquip_PItemInShop>("Prefab/UI/BattleEquipment/BuyEquipmentItem");
     this.gridItems        = base.transform.FindChild("Grid2").GetComponent <UIGrid>();
     UIEventListener.Get(this.btn_backLeft.gameObject).onClick = new UIEventListener.VoidDelegate(this.OnClickBack);
 }
Exemple #2
0
 private void OnClickItem(BattleEquip_PItemInShop com)
 {
     AudioMgr.PlayUI("Play_Shop_Select", null, false, false);
     MobaMessageManagerTools.SendClientMsg(ClientV2C.BattleShop_clickPItem, com.ItemData, false);
 }