This static utility class provides methods for working with DF-GUI controls.
More...
This static utility class provides methods for working with DF-GUI controls.
◆ Color32ToColor()
static Color PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeDialogueUIControls.Color32ToColor |
( |
Color32 |
color32 | ) |
|
|
static |
Converts a Color32 to a Color.
- Returns
- The Color.
- Parameters
-
color32 | Color32 to convert. |
◆ ColorToColor32()
static Color32 PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeDialogueUIControls.ColorToColor32 |
( |
Color |
color | ) |
|
|
static |
Converts a Color to a Color32.
- Returns
- The Color32.
- Parameters
-
◆ SetControlActive()
static void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeDialogueUIControls.SetControlActive |
( |
MonoBehaviour |
control, |
|
|
bool |
value |
|
) |
| |
|
static |
Sets a control active by using DF-GUI's Show() and Hide() methods.
Also sends OnEnable and OnDisable messages to simulate activating and deactivating the game object.
- Parameters
-
control | Control to set. |
value | true for active; false for inactive. |
◆ SetFormattedText() [1/2]
static void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeDialogueUIControls.SetFormattedText |
( |
dfLabel |
line, |
|
|
FormattedText |
formattedText, |
|
|
Color |
defaultColor |
|
) |
| |
|
static |
Sets a dfLabel using Dialogue System-formatted text.
- Parameters
-
line | The dfLabel. |
formattedText | The formatted text. |
defaultColor | Default color to use unless the formatted text contains an emphasis tag that overrides the default color. |
◆ SetFormattedText() [2/2]
static void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeDialogueUIControls.SetFormattedText |
( |
dfRichTextLabel |
richTextLabel, |
|
|
FormattedText |
formattedText, |
|
|
Color |
defaultColor |
|
) |
| |
|
static |
Sets a dfRichTextLabel using formatted text.
- Parameters
-
richTextLabel | Rich text label. |
formattedText | Formatted text. |
defaultColor | Default color. |
◆ SetPlainText() [1/2]
static void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeDialogueUIControls.SetPlainText |
( |
dfLabel |
line, |
|
|
string |
text, |
|
|
Color |
color |
|
) |
| |
|
static |
Sets a dfLabel using plain text.
- Parameters
-
line | The dfLabel. |
text | The plain text. |
color | Color. |
◆ SetPlainText() [2/2]
static void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeDialogueUIControls.SetPlainText |
( |
dfRichTextLabel |
richTextLabel, |
|
|
string |
text, |
|
|
Color |
color |
|
) |
| |
|
static |
Sets a dfRichTextLabel using plain text.
- Parameters
-
richTextLabel | Rich text label. |
text | Text. |
color | Color. |
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Integration/DFGUI Integration/Assets/Dialogue System/Third Party Support/Daikon Forge GUI/Daikon Forge Dialogue UI/Daikon Forge Dialogue Controls/DaikonForgeDialogueUIControls.cs