Skip to main content

Introduction

The Interactable Object is a base class for creating RPG Object Actions.

Fields#

NameDescription
On Lock State ChangedEvent raised when interaction should be locked

Properties#

NameDescription
callbackCallback to invoke when using this action
lockInteractionsGet/Set interaction lock state
parameterParameter (usually string display text) to use with this action
parentGets the parent Interactable RPG Object
preventActionsList of other action to prevent

Methods#

NameDescription
OnInteractionCalledThis method is called whenever the Interaction UI is displayed
OnInteractorChangedThis method is called whenever the Current Interactor changes