Chat Bubble
This class is for each detailed chat bubble.
Inspector Variables
Variable | Description |
---|
Text Field | The text component of the bubble |
Icon | The thumbnail in the bubble |
Character Name | The name of the speaker |
Properties
Property | Type | Description |
---|
Text | string | Gets or sets the bubble's main content |
Height | float | Gets the bubble's height |
CharacterName | string | Gets or sets the speaker's name |
Icon | RawImage | Gets or sets the thumbnail of the bubble |
API
Function | Return Type | Description | Parameters |
---|
SetBubble | void | Set the bubble's property | charName: The name of the owner of the bubble thumbnail: The thumbnail of the owner of the bubble text: The content of the bubble |