GUI controls for TK2DDialogueUI's alert message.
More...
|
override void | SetActive (bool value) |
| Sets the alert controls active. More...
|
|
override void | SetMessage (string message, float duration) |
| Sets the alert message and begins the fade in/out routine if a TK2DFader is attached. More...
|
|
virtual void | ShowMessage (string message, float duration) |
| Sets the GUI controls and shows a message. More...
|
|
void | Show () |
| Shows the controls by setting them active. More...
|
|
void | Hide () |
| Hides the controls by setting them inactive. More...
|
|
|
override bool | IsVisible [get] |
| Is an alert currently showing? More...
|
|
abstract bool | IsVisible [get] |
| Gets a value indicating whether an alert is visible. More...
|
|
virtual bool | IsDone [get] |
| Has the duration passed for the currently-showing alert? More...
|
|
GUI controls for TK2DDialogueUI's alert message.
◆ SetActive()
override void PixelCrushers.DialogueSystem.TK2D.TK2DAlertControls.SetActive |
( |
bool |
value | ) |
|
|
virtual |
◆ SetMessage()
override void PixelCrushers.DialogueSystem.TK2D.TK2DAlertControls.SetMessage |
( |
string |
message, |
|
|
float |
duration |
|
) |
| |
|
virtual |
◆ continueButton
tk2dUIItem PixelCrushers.DialogueSystem.TK2D.TK2DAlertControls.continueButton |
The continue button.
This button is only required if DisplaySettings.waitForContinueButton is true
– in which case this button should send "OnContinue" to the UI when clicked.
◆ line
tk2dTextMesh PixelCrushers.DialogueSystem.TK2D.TK2DAlertControls.line |
The text mesh used to show the alert message text.
◆ panel
tk2dUILayout PixelCrushers.DialogueSystem.TK2D.TK2DAlertControls.panel |
The alert panel.
A panel is optional, but you may want one so you can include a background image, panel-wide effects, etc.
◆ IsVisible
override bool PixelCrushers.DialogueSystem.TK2D.TK2DAlertControls.IsVisible |
|
get |
Is an alert currently showing?
true
if showing; otherwise, false
.
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/TK2DAlertControls.cs