Loading...
Searching...
No Matches
PixelCrushers.UITextColor Class Reference

This script provides methods to change a Text element's color. More...

Inheritance diagram for PixelCrushers.UITextColor:
Collaboration diagram for PixelCrushers.UITextColor:

Public Member Functions

void ApplyColor ()
 
void UndoColor ()
 

Public Attributes

Color color
 
UnityEngine.UI.Text text
 

Detailed Description

This script provides methods to change a Text element's color.

You can tie it to hover events on buttons if you want the button's text color to change when hovered.

Member Function Documentation

◆ ApplyColor()

void PixelCrushers.UITextColor.ApplyColor ( )
inline

◆ UndoColor()

void PixelCrushers.UITextColor.UndoColor ( )
inline

Member Data Documentation

◆ color

Color PixelCrushers.UITextColor.color

◆ text

UnityEngine.UI.Text PixelCrushers.UITextColor.text

The documentation for this class was generated from the following file: