Skip to main content

Chat Bubble

This class is for each detailed chat bubble.

Inspector Variables

VariableDescription
Text FieldThe text component of the bubble
IconThe thumbnail in the bubble
Character NameThe name of the speaker

Properties

PropertyTypeDescription
TextstringGets or sets the bubble's main content
HeightfloatGets the bubble's height
CharacterNamestringGets or sets the speaker's name
IconRawImageGets or sets the thumbnail of the bubble

API

FunctionReturn TypeDescriptionParameters
SetBubblevoidSet the bubble's propertycharName: The name of the owner of the bubble thumbnail: The thumbnail of the owner of the bubble text: The content of the bubble