Static utility class for TK2D Dialogue UI.
More...
Static utility class for TK2D Dialogue UI.
◆ SetControlActive()
static void PixelCrushers.DialogueSystem.TK2D.TK2DDialogueTools.SetControlActive |
( |
MonoBehaviour |
control, |
|
|
bool |
value |
|
) |
| |
|
static |
Sets a control active.
- Parameters
-
control | Control to set. |
value | true for active; false for inactive. |
◆ SetFormattedText()
static void PixelCrushers.DialogueSystem.TK2D.TK2DDialogueTools.SetFormattedText |
( |
tk2dTextMesh |
line, |
|
|
FormattedText |
formattedText, |
|
|
Color |
defaultColor |
|
) |
| |
|
static |
Sets a text mesh using Dialogue System-formatted text.
- Parameters
-
line | The text mesh. |
formattedText | The formatted text. |
defaultColor | Default color to use unless the formatted text contains an emphasis tag that overrides the default color. |
◆ SetPlainText()
static void PixelCrushers.DialogueSystem.TK2D.TK2DDialogueTools.SetPlainText |
( |
tk2dTextMesh |
line, |
|
|
string |
text, |
|
|
Color |
color |
|
) |
| |
|
static |
Sets a text mesh using plain text.
- Parameters
-
line | The text mesh. |
text | The plain text. |
color | Color. |
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Integration/TK2D Integration/Assets/Dialogue System/Third Party Support/TK2D/TK2D Dialogue UI/TK2DDialogueTools.cs