Skip to main content

Introduction

The RPG Action adds an empty action to an Interactable RPG Object. This can help ensure other actions are on the slot you desire.

"RPG Empty Action"

Fields#

NameDescription
On Lock State ChangedEvent raised when interaction should be locked

Properties#

NameDescription
callbackCallback to invoke when using this action
parameterParameter (usually string display text) to use with this action
lockInteractionsGet/Set interaction lock state
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