Property | Type | Description | |
---|---|---|---|
bubbleColor | Color | ||
closeButton | KeyCode | ||
handler | GameObject | ||
id | string | ||
nameColor | Color | ||
nameOutlineColor | Color | ||
onArrow | string | ||
onClose | string | ||
outlineColor | Color | ||
sortingOrder | int | ||
tail | TailType |
Method | Description | |
---|---|---|
Awake ( ) : void |
Create the text and set the tail on bubble
|
|
ButtonArrow ( ) : void |
Function to handle the arrow button
|
|
ButtonClose ( ) : void |
Function to handle the close button
|
|
OnDisable ( ) : void |
Disable the bubble
|
|
OnEnable ( ) : void |
Enable the bubble
|
|
SetActive ( bool flag ) : void |
Helper to activate the gameobject
|
|
SetColor ( ) : void |
Set the color of each parts
|
|
SetTail ( TailType tail ) : void |
Enable the selected tail
|
|
SetTail ( string id ) : void |
Set the tail orientation based on id
|
|
Start ( ) : void |
Start the bubble, lets init some stuff
|
|
Update ( ) : void |
Update the bubble with some anims TODO use trigger in start instead of this..
|
Method | Description | |
---|---|---|
WaitSomeSeconds ( ) : IEnumerator |