Photon Unity Networking 2: TextToggleIsOnTransition Class Reference

Photon Unity Networking 2

TextToggleIsOnTransition Class Reference

Use this on toggles texts to have some color transition on the text depending on the isOn State. More...

Inherits MonoBehaviour, IPointerEnterHandler, and IPointerExitHandler.

Public Member Functions

void OnEnable ()
 
void OnDisable ()
 
void OnValueChanged (bool isOn)
 
void OnPointerEnter (PointerEventData eventData)
 
void OnPointerExit (PointerEventData eventData)
 

Public Attributes

Toggle toggle
 The toggle Component. More...
 
Color NormalOnColor = Color.white
 The color of the normal on transition state. More...
 
Color NormalOffColor = Color.black
 The color of the normal off transition state. More...
 
Color HoverOnColor = Color.black
 The color of the hover on transition state. More...
 
Color HoverOffColor = Color.black
 The color of the hover off transition state. More...
 

Detailed Description

Use this on toggles texts to have some color transition on the text depending on the isOn State.

Member Data Documentation

Color HoverOffColor = Color.black

The color of the hover off transition state.

Color HoverOnColor = Color.black

The color of the hover on transition state.

Color NormalOffColor = Color.black

The color of the normal off transition state.

Color NormalOnColor = Color.white

The color of the normal on transition state.

Toggle toggle

The toggle Component.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH