Photon Unity Networking 2
2.12
|
TextButtonTransition Class Reference
Use this on Button texts to have some color transition on the text as well without corrupting button's behaviour. More...
Inherits MonoBehaviour, IPointerEnterHandler, and IPointerExitHandler.
Public Member Functions | |
void | Awake () |
void | OnEnable () |
void | OnDisable () |
void | OnPointerEnter (PointerEventData eventData) |
void | OnPointerExit (PointerEventData eventData) |
Public Attributes | |
Selectable | Selectable |
The selectable Component. More... | |
Color | NormalColor = Color.white |
The color of the normal of the transition state. More... | |
Color | HoverColor = Color.black |
The color of the hover of the transition state. More... | |
Detailed Description
Use this on Button texts to have some color transition on the text as well without corrupting button's behaviour.
Member Data Documentation
Color HoverColor = Color.black |
The color of the hover of the transition state.
Color NormalColor = Color.white |
The color of the normal of the transition state.
Selectable Selectable |
The selectable Component.