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(); }
private void OnPointerExit(BaseEventData eventData) { OnMouseExit.Invoke(); UI_Selection.DestroyInstance(); }
private void OnMouseExit() { UI_Selection.DestroyInstance(); }
private void OnPointerExit_Yes(BaseEventData eventData) { UI_Selection.DestroyInstance(); }
private void OnPointerClick_No(BaseEventData eventData) { UI_Selection.DestroyInstance(); UI_Shop.Instance.CloseTradeMenu(); }