Class PlayerInventoriesHelper
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 = "PlayerInventoriesHelper", menuName = "Economy Tools/Player Inventories Helper")]
public class PlayerInventoriesHelper : ScriptableObject
Fields
action
Declaration
[Header("Inventories Helper")]
public PlayerInventoriesHelper.InventoriesAction action
Field Value
Type | Description |
---|---|
PlayerInventoriesHelper.InventoriesAction |
instanceDataJson
Declaration
[Header("Update Instance Settings")]
[TextArea]
public string instanceDataJson
Field Value
Type | Description |
---|---|
string |
inventoryItemId
Declaration
[Header("Add Instance Settings")]
public string inventoryItemId
Field Value
Type | Description |
---|---|
string |
playersInventoryItemId
Declaration
public string playersInventoryItemId
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()