using UnityEngine; namespace TON { public class ShopUI : UIBase { [SerializeField] private GameObject HeartPopUp; [SerializeField] private GameObject PositionPopUp; public void OnClickLobbyButton() { Main.Singleton.ChangeScene(SceneType.Lobby); } // HP 포션 구매 버튼 클릭 시 호출 public void OnClickBuyHpPotion1Button() { BuyPotion(hpPotionPrice1, "hp", 1); } public void OnClickBuyHpPotion5Button() { BuyPotion(hpPotionPrice5, "hp", 5); } public void OnClickBuyHpPotion20Button() { BuyPotion(hpPotionPrice20, "hp", 20); } // MP 포션 구매 버튼 클릭 시 호출 public void OnClickBuyMpPotion1Button() { BuyPotion(mpPotionPrice1, "mp", 1); } public void OnClickBuyMpPotion5Button() { BuyPotion(mpPotionPrice5, "mp", 5); } public void OnClickBuyMpPotion20Button() { BuyPotion(mpPotionPrice20, "mp", 20); } } }