Photon Unity Networking 2 2.45

Public Member Functions | Public Attributes | List of all members
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

◆ HoverColor

Color HoverColor = Color.black

The color of the hover of the transition state.

◆ NormalColor

Color NormalColor = Color.white

The color of the normal of the transition state.

◆ Selectable

Selectable Selectable

The selectable Component.