GUI controls for UnityDialogueUI's alert message.
More...
|
override void | SetActive (bool value) |
| Sets the controls active/inactive. More...
|
|
override void | SetMessage (string message, float duration) |
| Sets the message text of an alert. 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 UnityDialogueUI's alert message.
◆ SetActive()
override void PixelCrushers.DialogueSystem.UnityGUI.UnityAlertControls.SetActive |
( |
bool |
value | ) |
|
|
virtual |
◆ SetMessage()
override void PixelCrushers.DialogueSystem.UnityGUI.UnityAlertControls.SetMessage |
( |
string |
message, |
|
|
float |
duration |
|
) |
| |
|
virtual |
◆ continueButton
GUIButton PixelCrushers.DialogueSystem.UnityGUI.UnityAlertControls.continueButton |
Optional continue button to close the alert immediately.
◆ line
GUILabel PixelCrushers.DialogueSystem.UnityGUI.UnityAlertControls.line |
The label used to show the alert message text.
◆ panel
GUIControl PixelCrushers.DialogueSystem.UnityGUI.UnityAlertControls.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.UnityGUI.UnityAlertControls.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/Source/Assets/Dialogue System/Scripts/Supplemental/Unity GUI/Unity Dialogue UI/Dialogue GUI Controls/UnityAlertControls.cs