Photon Unity Networking 2
2.52
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 | OnPointerEnter (PointerEventData eventData) |
| void | OnPointerExit (PointerEventData eventData) |
| void | OnEnable () |
| void | OnDisable () |
| void | OnValueChanged (bool isOn) |
Public Attributes | |
| Toggle | toggle |
| Color | NormalOnColor = Color.white |
| Color | NormalOffColor = Color.black |
| Color | HoverOnColor = Color.black |
| Color | HoverOffColor = Color.black |
Use this on toggles texts to have some color transition on the text depending on the isOn State.