Photon Unity Networking 2 2.45

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

◆ HoverOffColor

Color HoverOffColor = Color.black

The color of the hover off transition state.

◆ HoverOnColor

Color HoverOnColor = Color.black

The color of the hover on transition state.

◆ NormalOffColor

Color NormalOffColor = Color.black

The color of the normal off transition state.

◆ NormalOnColor

Color NormalOnColor = Color.white

The color of the normal on transition state.

◆ toggle

Toggle toggle

The toggle Component.