Skip to main content

Introduction

Interact with an inventory

"Inventory Interactable"

Fields#

NameDescription
ActionsAction(s) to take on interact
RequirementsRequirements that must be met to interact
Add FundsList of funds to add
Add ItemsList of items to add
Pre Add Sequence IdAction Sequence to run prior to adding
Remove FundsList of funds to remove
Remove ItemsList of items to remove
Destroy AfterDestroy GameObject after interaciton
InteractableDetermines if this object is interactable
Action TextText associated with this action
Action ImageImage associated with the action
Show Alt TextDisplay message when object is not interactable
Alternate TextText associated with this action when not interactable
Custom SourceSource of custom UI
Custom UIReference of Custom UI to use instead of the normal Interactor UI
Custom IdId of Custom UI to use instead of the normal Interactor UI
Audio Pool ChannelName of the broadcaster channel to use with the audio ppol
Action SoundSound to play when interacting
On InteractEvent raised when the object is interacted with

Properties#

NameDescription
IsInteractableGet if object is interactable
CallbacksList of callbacks to be used by the Interactor UI
CurrentAgentCurrently active Interactor
InteractionImageImage to display in the UI
InteractionTextText to display in the UI
ParametersList of parameters to be used by the Interactor UI

Methods#

NameDescription
InteractInteracts with the object
SetInteractableSet the interactable state of the object