A Daikon Forge GUI response button for use with DaikonForgeDialogueUIControls.
More...
A Daikon Forge GUI response button for use with DaikonForgeDialogueUIControls.
Add this component to each response button in the dialogue UI.
◆ OnClick()
void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.OnClick |
( |
| ) |
|
Handles a button click by calling the response handler.
◆ SetFormattedText()
void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.SetFormattedText |
( |
FormattedText |
formattedText | ) |
|
Sets the button's text using the specified formatted text.
- Parameters
-
formattedText | The formatted text for the button label. |
◆ SetUnformattedText()
void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.SetUnformattedText |
( |
string |
unformattedText | ) |
|
Sets the button's text using plain text.
- Parameters
-
unformattedText | Unformatted text for the button label. |
◆ defaultColor
Color PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.defaultColor = Color.white |
The default color for response text.
◆ dfButton
dfButton PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.dfButton |
|
getset |
◆ IsClickable
bool? PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.IsClickable |
|
getset |
Indicates whether the button is an allowable response.
true
if clickable; otherwise, false
.
◆ IsVisible
bool PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.IsVisible |
|
getset |
Indicates whether the button is shown or not.
true
if visible; otherwise, false
.
◆ Response
Response PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.Response |
|
getset |
Gets or sets the response associated with this button.
If the player clicks this button, this response is sent back to the dialogue system.
The response.
◆ Target
Transform PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.Target |
|
getset |
Gets or sets the target that will receive click notifications.
The target.
◆ Text
string? PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.Text |
|
getset |
Gets or sets the response text.
The text.
◆ TextColor
Color? PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseButton.TextColor |
|
getset |
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/DaikonForgeResponseButton.cs