Simple Button


You are viewing an older version of this document (Version 2). The latest is Version 3.

Last updated: 10 months ago • 3 versions | Visibility: Public

Description 

A button that calls up Unity Events at a simple press of a button.

 

Unity Events

OnClickThis event is called when the button is pressed and released.
OnPressThis event is called when the button is pressed.
OnUnpress           This event is called when the button is released.

 

Properties

m_disableSelectStateBooleanSelect State is natively deactivated, but can be reactivated by unchecking.
m_secondaryTargetGraphicGraphicAllow you to use other target graphic for your button.
m_animationButtonAnimationContains the diplacement and duration values for the press animation.
useThemeBooleanselect state allows you to use the lynx ThemeManager, natively deactivated.

 

For inherited field from the button class, visit Unity's documentation.