Skip to main content

BubblePanel

Module: Inworld.AI. Namespace: Inworld.UI.

This base class holds InworldUIElements during runtime.

VariablesDescription
ContentAnchorThe anchor for holding InworldUIElements.
PropertiesDescription
IsUIReadyReturn if the UI components exist.
FunctionsDescriptionParameters
UpdateContentRefreshes the layout if there are content updates.

ChatOptions

Module: Inworld.AI. Namespace: Inworld.Sample.

VariablesDescription
audioChecks whether the panel can receive and render bubbles for AudioPackets.
textChecks whether the panel can receive and render bubbles for Text Events.
emotionChecks whether the panel can receive and render bubbles for Emotion Events.
narrativeActionChecks whether the panel can receive and render bubbles for Narrative Actions.
relationChecks whether the panel can receive and render bubbles for Relation Events.
triggerChecks whether the panel can receive and render bubbles for Custom Events(Triggers).
longBubbleModeChecks whether the panel has grouped several packets together while rendering.

StatusPanel

Module: Inworld.AI. Namespace: Inworld.Sample.

This base class displays the Status panel during runtime.

VariablesDescription
BoardThe background of the status panel.
IndicatorThe UI indicator for displaying the connection status.
ErrorThe detailed error message if error occurs.

ChatPanel

Module: Inworld.AI. Namespace: Inworld.Sample. Inherited from BubblePanel.

This base class holds ChatBubbles during runtime.

VariablesDescription
BubbleLeftThe left ChatBubble prefab to instantiate.
BubbleRightThe right ChatBubble prefab to instantiate.
ChatOptionsThe ChatOption used in this panel.
PropertiesDescription
:--:--
IsUIReadyReturns if the UI components exist.

CharSelectorPanel

Module: Inworld.AI. Namespace: Inworld.Sample. Inherited from BubblePanel.

This class holds Character Buttons and enables user selection during the runtime of Samples2D scene.

VariablesDescription
CharSelectorPrefabThe Character Button prefabs to instantiate.
PropertiesDescription
IsUIReadyReturns if the UI components exist.

Subtitle

Module: Inworld.AI. Namespace: Inworld.Sample. Inherited from StatusPanel.

This class renders subtitles in the SamplesInnequin scene.

VariablesDescription
SubtitleThe text component to display subtitles.