Introduction
The Interactable Object is a base class for creating RPG Object Actions.
Fields#
| Name | Description |
|---|---|
| On Lock State Changed | Event raised when interaction should be locked |
Properties#
| Name | Description |
|---|---|
| callback | Callback to invoke when using this action |
| lockInteractions | Get/Set interaction lock state |
| parameter | Parameter (usually string display text) to use with this action |
| parent | Gets the parent Interactable RPG Object |
| preventActions | List of other action to prevent |
Methods#
| Name | Description |
|---|---|
| OnInteractionCalled | This method is called whenever the Interaction UI is displayed |
| OnInteractorChanged | This method is called whenever the Current Interactor changes |