Class PlayerBalancesHelper
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Services.Economy.Tools
Assembly: Unity.Services.Economy.dll
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 |
---|---|
int |
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 void InvokeAsync()