Class PlayerBalancesHelper
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Services.Economy.Tools
Syntax
[CreateAssetMenu(fileName = "PlayerBalancesHelper", menuName = "Economy Tools/Player Balances Helper")]
public class PlayerBalancesHelper : ScriptableObjectFields
action
Declaration
[Header("Currencies Helper")]
public PlayerBalancesHelper.CurrencyAction actionField Value
| Type | Description | 
|---|---|
| PlayerBalancesHelper.CurrencyAction | 
amount
Declaration
public int amountField Value
| Type | Description | 
|---|---|
| Int32 | 
currencyId
Declaration
public string currencyIdField 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()