Photon Unity Networking 2: TextButtonTransition Class Reference

Photon Unity Networking 2

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.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH