BubbleButton Class |
Namespace: RavingBots.MagicGestures.UI.Elements
public class BubbleButton : UiElement
The BubbleButton type exposes the following members.
Name | Description | |
---|---|---|
BubbleButton | Initializes a new instance of the BubbleButton class |
Name | Description | |
---|---|---|
Awake |
Save the initial state.
| |
GetScale |
Get the current scale of the button.
| |
SetHover |
Called when the hover state changes.
(Overrides UiElementSetHover(Boolean).) | |
SetHoverProgress |
Called when the hover animation progress changes.
(Overrides UiElementSetHoverProgress(Single).) | |
SetPressed |
Called when the pressed state changes.
(Overrides UiElementSetPressed(Boolean).) | |
SetPressProgress |
Called when the press animation progress changes.
(Overrides UiElementSetPressProgress(Single).) | |
SetSelectProgress |
Called when the select animation progress changes.
(Overrides UiElementSetSelectProgress(Single).) | |
SetShowProgress |
Called when the show/hide animation progress changes.
(Overrides UiElementSetShowProgress(Single).) | |
Start |
Set the initial state of this element.
(Overrides UiElementStart.) | |
UpdateScale |
Update the scale of the button object.
|
Name | Description | |
---|---|---|
_audioSource |
The audio source of the element.
| |
_scale |
The current scale of the element.
| |
_started | after Start has been called.
| |
HoverScale |
The target scale when the button is pointed at.
| |
HoverSound |
The sound that plays when the button is pointed at.
| |
PressScale |
The target scale when the button is pressed.
| |
PressSound |
The sound that plays when the button is pressed.
|