Ejemplo n.º 1
0
        public static ConfirmSellEquipmentView Open(EquipmentInfo equipmentInfo)
        {
            ConfirmSellEquipmentView confirmSellEquipmentView = UIMgr.instance.Open <ConfirmSellEquipmentView>(PREFAB_PATH, EUISortingLayer.MainUI, UIOpenMode.Overlay);

            confirmSellEquipmentView.SetEquipmentInfo(equipmentInfo);
            return(confirmSellEquipmentView);
        }
 public void ClickSellHandler()
 {
     EquipmentProxy.instance.SetEquipmentAsChecked(_equipmentInfo.instanceID);
     ConfirmSellEquipmentView.Open(_equipmentInfo);
 }
Ejemplo n.º 3
0
 public void ClickSellEquipmentHandler(EquipmentItem equipmentItem)
 {
     EquipmentProxy.instance.SetEquipmentAsChecked(equipmentItem.EquipmentInfo.instanceID);
     ConfirmSellEquipmentView.Open(equipmentItem.EquipmentInfo);
 }