Skip to main content

ChatBubble

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

This class is for each detailed chat bubble.

VariablesDescription
TextFieldThe actual text field.
PropertiesDescrpition
TextThe actual text in the bubble.
FunctionsDescriptionParameters
SetBubbleSet the bubble's property.charName: The bubble's owner's name.
thumbnail: The bubble's owner's thumbnail.
text: The bubble's content.
SetBubbleWithPacketInfoSet the bubble's property with packet info.charName: The bubble's owner's name
interactionID: The bubble's interaction ID.
correlationID: The bubble's correlation ID.
thumbnail: The bubble's owner's thumbnail.
text: The bubble's content.
AttachBubbleAttach text to the current bubble.text: text to attach.
OnPointerUpUnity Event functions for click button up.eventData: the default PointEventData.
OnPointerDownUnity Event functions for click button down.eventData: the default PointEventData.