Abstract alert message controls.
More...
|
void | SetMessage (string message, float duration) |
| Sets the message text of an alert.
|
|
virtual void | ShowMessage (string message, float duration) |
| Sets the GUI controls and shows a message.
|
|
void | SetActive (bool value) |
| Sets the controls active/inactive.
|
|
void | Show () |
| Shows the controls by setting them active.
|
|
void | Hide () |
| Hides the controls by setting them inactive.
|
|
|
bool | isVisible [get] |
| Gets a value indicating whether an alert is visible.
|
|
virtual bool | isDone [get] |
| Has the duration passed for the currently-showing alert?
|
|
Abstract alert message controls.
Each GUI system implementation derives its own subclass from this.
◆ SetMessage()
void PixelCrushers.DialogueSystem.AbstractUIAlertControls.SetMessage |
( |
string |
message, |
|
|
float |
duration |
|
) |
| |
|
abstract |
Sets the message text of an alert.
- Parameters
-
message | Message. |
duration | Duration that message will be shown. Used by subclasses to set up fade durations. |
◆ ShowMessage()
virtual void PixelCrushers.DialogueSystem.AbstractUIAlertControls.ShowMessage |
( |
string |
message, |
|
|
float |
duration |
|
) |
| |
|
inlinevirtual |
Sets the GUI controls and shows a message.
- Parameters
-
message | Message to show. |
duration | Duration in seconds. |
◆ m_alertDoneTime
float PixelCrushers.DialogueSystem.AbstractUIAlertControls.m_alertDoneTime = 0 |
|
protected |
◆ isDone
virtual bool PixelCrushers.DialogueSystem.AbstractUIAlertControls.isDone |
|
get |
Has the duration passed for the currently-showing alert?
true
if done; otherwise, false
.
◆ isVisible
bool PixelCrushers.DialogueSystem.AbstractUIAlertControls.isVisible |
|
getabstract |
Gets a value indicating whether an alert is visible.
true
if visible; otherwise, false
.
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Release2/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/UI/Abstract/Dialogue/AbstractUIAlertControls.cs