스토어에 등록된 가격을 메타 데이터로 가격을 현지화 할수 있다.
public class Test : MonoBehaviour , IStoreListener{
public static IStoreController = m_storeController;
string itemId = "item-number-1";
void Start(){
IAP1Text = GameObject.Find ("IAP1Text").GetComponent<Text>();
IAP1Text.text=m_StoreController.products.WithID(itemId).metadata.localizedPrice.ToString();
}
}
forum.unity.com/threads/solved-unity-iap-get-item-price.391448/
[Solved] Unity IAP get item price
How do I get the price and currency of an IAP item in my game? I did this tutorial...
forum.unity.com
| Validating receipts Not found GooglePlayTangle.Data() , AppleTangle.Data(); (0) | 2020.12.18 |
|---|---|
| Unity IAP Purcahse code (0) | 2020.12.18 |
| Unity 슬로우모션 , FixedUpdate Controll via script (0) | 2020.12.14 |
| Unity IAP (In App purchasing ) Initialize Error , Product Fail Initialize (0) | 2020.11.27 |
| [Mac os] Unity PlayerPrepabs, PerssistentDataPath Save Directory Path (0) | 2020.11.12 |
| TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations (0) | 2020.08.21 |