PixelCrushers.DialogueSystem.UnityUIColorText Class Reference

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

Inheritance diagram for PixelCrushers.DialogueSystem.UnityUIColorText:
Collaboration diagram for PixelCrushers.DialogueSystem.UnityUIColorText:

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.DialogueSystem.UnityUIColorText.ApplyColor ( )

◆ UndoColor()

void PixelCrushers.DialogueSystem.UnityUIColorText.UndoColor ( )

Member Data Documentation

◆ color

Color PixelCrushers.DialogueSystem.UnityUIColorText.color

◆ text

UnityEngine.UI.Text PixelCrushers.DialogueSystem.UnityUIColorText.text

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