UiElement Class |
Namespace: RavingBots.MagicGestures.UI.Elements
public abstract class UiElement : MonoBehaviour
The UiElement type exposes the following members.
| Name | Description | |
|---|---|---|
| Disabled |
The current disabled state of this element.
| |
| Hover |
The current hover state of this element.
| |
| HoverProgress |
The progress of the hover animation.
| |
| Pressed |
The current pressed state of this element.
| |
| PressProgress |
The progress of the press animation.
| |
| Selected |
The current selected state of this element.
| |
| SelectProgress |
The progress of the select animation.
| |
| ShowProgress |
The progress of the show/hide animation.
| |
| State |
The current visibility state of this element.
|
| Name | Description | |
|---|---|---|
| SetDisabled |
Called when the disabled state changes.
| |
| SetHover |
Called when the hover state changes.
| |
| SetHoverProgress |
Called when the hover animation progress changes.
| |
| SetPressed |
Called when the pressed state changes.
| |
| SetPressProgress |
Called when the press animation progress changes.
| |
| SetSelected |
Called when the selected state changes.
| |
| SetSelectProgress |
Called when the select animation progress changes.
| |
| SetShowProgress |
Called when the show/hide animation progress changes.
| |
| SetState |
Called when the visibility state changes.
| |
| SetVisible |
Change the visibility of this element.
| |
| Start |
Set the initial state of this element.
| |
| Update |
Update the element state.
|
| Name | Description | |
|---|---|---|
| _disabled |
The current disabled state of this element.
| |
| _hover |
The current hover state of this element.
| |
| _hoverProgress |
The progress of the hover animation.
| |
| _pressed |
The current pressed state of this element.
| |
| _pressProgress |
The progress of the press animation.
| |
| _selected |
The current selected state of this element.
| |
| _selectProgress |
The progress of the select animation.
| |
| _showProgress |
The progress of the show/hide animation.
| |
| _state |
The current visibility state of this element.
| |
| HideDuration |
The duration of the hide animation.
| |
| HoverOnDuration |
The duration of the hover on animation.
| |
| HoverOutDuration |
The duration of the hover out animation.
| |
| PressDuration |
The duration of the press animation.
| |
| ShowDuration |
The duration of the show animation.
|