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