Skip to main content

Introduction

The Interactable Door component enables a door to be opened/closed.

"Interactable Door"

Fields#

NameDescription
Open Bool AnimBoolean parameter to set on the animator
Open Close DurationTime it takes to open/close the door (interaction is disabled during this time)
Open TextText to display when door can be opened
Close TextText to display when door can be closed
Open SoundSound to play on open
Close SoundSound to play on close
On OpenEvent raised when the door is opened
On Open CompleteEvent raised when the door has finished opening
On CloseEvent raised when the door is closed
On Close CompleteEvent raised when the door has finished closing
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
AnimatorAttached Animator
InteractionTextText to display in the UI
IsInteractableIs the object currently interactable
IsOpenIs door currently open
OcclusionPortalAttached OcclusionPortal
CallbacksList of callbacks to be used by the Interactor UI
CurrentAgentCurrently active Interactor
InteractionImageImage 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