Skip to main content

Introduction

Provides an interactable interface for Stats

"Stat Interactable"

Fields#

NameDescription
RequirementsStat Condition that must be true to be interactable
ActionsAction(s) to take on interact
Background IdId of Background to set
Race IdId of Race to set
Add Class IdId of Class to add
Remove Class IdId of Class to remove
Add Status Condition IdId of Status Condition to add
Remove Status Condition IdId of Status Condition to remove
Stat ModifiersList of Stat Modifiers to add
Add Status Effect IdId of Status Effect to add
Remove Status Effect IdId of Status Effect to remove
Activate TargetObject to Activate
PrefabPrefab to Spawn
ParentParent Transform for spawned object
Raise Event IdId of Event to raise
Reward IdId of reward to grant
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
IsInteractableIs the object currently 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
InteractInteract with the object
SetInteractableSet the interactable state of the object