Esempio n. 1
0
        private void OnPointerClick_Yes(BaseEventData eventData)
        {
            if (UI_Shop.Instance.TradeType == TradeType.Buy)
            {
                TradeMenu.Mid.ItemProduct.Purchase();
            }
            else
            {
                TradeMenu.Mid.ItemProduct.Sell();
            }


            UI_Selection.DestroyInstance();
            UI_Shop.Instance.CloseTradeMenu();
        }
Esempio n. 2
0
 private void OnPointerExit(BaseEventData eventData)
 {
     OnMouseExit.Invoke();
     UI_Selection.DestroyInstance();
 }
Esempio n. 3
0
 private void OnMouseExit()
 {
     UI_Selection.DestroyInstance();
 }
Esempio n. 4
0
 private void OnPointerExit_Yes(BaseEventData eventData)
 {
     UI_Selection.DestroyInstance();
 }
Esempio n. 5
0
 private void OnPointerClick_No(BaseEventData eventData)
 {
     UI_Selection.DestroyInstance();
     UI_Shop.Instance.CloseTradeMenu();
 }