Response menu controls for DaikonForgeDialogueUI.
More...
|
override void | SetPCPortrait (Texture2D portraitTexture, string portraitName) |
| Sets the PC portrait name and texture to use in the response menu. More...
|
|
override void | SetActorPortraitTexture (string actorName, Texture2D portraitTexture) |
| Sets the portrait texture to use in the response menu if the named actor is the player. More...
|
|
override void | SetActive (bool value) |
| Sets the controls active/inactive, except this method never activates the timer. More...
|
|
override void | StartTimer (float timeout) |
| Starts the timer. More...
|
|
void | OnTimeout () |
| This method is called if the timer runs out. More...
|
|
void | Show () |
| Shows the controls by setting them active. More...
|
|
void | Hide () |
| Hides the controls by setting them inactive. More...
|
|
◆ ClearResponseButtons()
override void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.ClearResponseButtons |
( |
| ) |
|
|
protectedvirtual |
◆ OnTimeout()
void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.OnTimeout |
( |
| ) |
|
This method is called if the timer runs out.
It selects the first response.
◆ SetActive()
override void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.SetActive |
( |
bool |
value | ) |
|
|
virtual |
Sets the controls active/inactive, except this method never activates the timer.
If the UI's display settings specify a timeout, then the UI will call StartTimer() to manually activate the timer.
- Parameters
-
value | Value (true for active; otherwise inactive). |
Implements PixelCrushers.DialogueSystem.AbstractUIControls.
◆ SetActorPortraitTexture()
override void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.SetActorPortraitTexture |
( |
string |
actorName, |
|
|
Texture2D |
portraitTexture |
|
) |
| |
|
virtual |
Sets the portrait texture to use in the response menu if the named actor is the player.
This is used to immediately update the GUI control if the SetPortrait() sequencer command changes the portrait texture.
- Parameters
-
actorName | Actor name in database. |
portraitTexture | Portrait texture. |
Reimplemented from PixelCrushers.DialogueSystem.AbstractUIResponseMenuControls.
◆ SetPCPortrait()
override void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.SetPCPortrait |
( |
Texture2D |
portraitTexture, |
|
|
string |
portraitName |
|
) |
| |
|
virtual |
◆ SetResponseButtons()
override void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.SetResponseButtons |
( |
Response[] |
responses, |
|
|
Transform |
target |
|
) |
| |
|
protectedvirtual |
◆ StartTimer()
override void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.StartTimer |
( |
float |
timeout | ) |
|
|
virtual |
◆ buttons
◆ panel
dfPanel PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.panel |
The panel containing the controls.
A panel is optional, but you may want one so you can include additional controls.
◆ pcImage
dfTextureSprite PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.pcImage |
◆ pcName
dfLabel PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.pcName |
◆ subtitleReminder
The reminder of the last subtitle.
◆ timerBar
dfProgressBar PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeResponseMenuControls.timerBar |
◆ SubtitleReminder
The response button alignment – that is, whether to align them to the first or the last button.
Defaults to the first button.
Specifies whether to show buttons that aren't assigned to any responses. If you're using a "dialogue wheel," for example, you'll want to show unused buttons so the entire wheel structure is visible.
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/DaikonForgeResponseMenuControls.cs