v3.1.2
2020.3+
Class PurchasesHelper
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Services.Economy.Tools
Syntax
[CreateAssetMenu(fileName = "PurchasesHelper", menuName = "Economy Tools/Purchases Helper")]
public class PurchasesHelper : ScriptableObject
Fields
purchaseId
Declaration
[Header("Make Purchase")]
public string purchaseId
Field Value
Type | Description |
---|---|
String |
Methods
InvokeAsync()
Used to trigger the call to the Economy Service using the options set in the inspector.
Declaration
public async void InvokeAsync()