Timer Button
Last updated: 7 months ago • 2 versions | Visibility: Public
Description
A button with the same feature as the simple button, but with the addition of a countdown timer to trigger the event.
Unity Events
OnClick | This event is called when the button is pressed and released. |
OnPress | This event is called when the button is pressed. |
OnUnpress | This event is called when the button is released. |
OnTimerPress | This event is called when the button is pressed long enough. |
Properties
m_disableSelectState | Boolean | Select State is natively deactivated, but can be reactivated by unchecking. |
m_secondaryTargetGraphic | Graphic | Allow you to use other target graphic for your button. |
m_animation | ButtonAnimation | Contains the diplacement and duration values for the press animation. |
useTheme | Boolean | select state allows you to use the lynx ThemeManager, natively deactivated. |
For inherited field from the button class, visit Unity's documentation.