Response menu controls for TK2DDialogueUI.
More...
|
override void | SetPCPortrait (Texture2D portraitTexture, string portraitName) |
| Sets the PC portrait name and texture to use in the response menu. 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.TK2D.TK2DResponseMenuControls.ClearResponseButtons |
( |
| ) |
|
|
protectedvirtual |
◆ OnTimeout()
void PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.OnTimeout |
( |
| ) |
|
This method is called if the timer runs out.
It selects the first response.
◆ SetActive()
override void PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.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.
◆ SetPCPortrait()
override void PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.SetPCPortrait |
( |
Texture2D |
portraitTexture, |
|
|
string |
portraitName |
|
) |
| |
|
virtual |
◆ SetResponseButtons()
override void PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.SetResponseButtons |
( |
Response[] |
responses, |
|
|
Transform |
target |
|
) |
| |
|
protectedvirtual |
◆ StartTimer()
override void PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.StartTimer |
( |
float |
timeout | ) |
|
|
virtual |
◆ buttons
◆ panel
tk2dUILayout PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.panel |
The alert panel.
A panel is optional, but you may want one so you can include a background image, panel-wide effects, etc.
◆ pcImage
tk2dBaseSprite PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.pcImage |
The label that will show the portrait image of the PC on the response menu.
◆ pcName
tk2dTextMesh PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.pcName |
The label that will show the name of the PC on the response menu.
◆ subtitleReminder
The reminder of the last subtitle.
◆ timer
TK2DTimer PixelCrushers.DialogueSystem.TK2D.TK2DResponseMenuControls.timer |
◆ SubtitleReminder
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/TK2DResponseMenuControls.cs