id | Platform specific Product ID. |
stores | Array of platform names using this Product ID. |
Add a product id which is supported by a list of store platform names.
Here is an example of adding to an IDs.
no example available in JavaScript
using UnityEngine; using UnityEngine.Purchasing;
public class MyGameClass : MonoBehaviour { void Start() { IDs productIds = new IDs(); productIds.Add("levelpackfoo", new string[] {GooglePlay.Name, AppleAppStore.Name}); } }