스토어에 등록된 가격을 메타 데이터로 가격을 현지화 할수 있다.
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/
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 |