NGUI controls for NGUIDialogueUI'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. More...
|
|
IEnumerator | FadeOut (Action FadedOutHandler) |
| Fades out the alert line. 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...
|
|
NGUI controls for NGUIDialogueUI's alert message.
◆ FadeOut()
IEnumerator PixelCrushers.DialogueSystem.NGUI.NGUIAlertControls.FadeOut |
( |
Action |
FadedOutHandler | ) |
|
Fades out the alert line.
- Returns
- IEnumerator (coroutine).
- Parameters
-
FadedOutHandler | Handler to call when finished fading out. |
◆ SetActive()
override void PixelCrushers.DialogueSystem.NGUI.NGUIAlertControls.SetActive |
( |
bool |
value | ) |
|
|
virtual |
◆ SetMessage()
override void PixelCrushers.DialogueSystem.NGUI.NGUIAlertControls.SetMessage |
( |
string |
message, |
|
|
float |
duration |
|
) |
| |
|
virtual |
◆ continueButton
UIButton PixelCrushers.DialogueSystem.NGUI.NGUIAlertControls.continueButton |
Optional continue button to close the alert immediately.
◆ fadeOutDuration
float PixelCrushers.DialogueSystem.NGUI.NGUIAlertControls.fadeOutDuration = 1 |
The duration to fade out at the end of showing the alert.
◆ line
UILabel PixelCrushers.DialogueSystem.NGUI.NGUIAlertControls.line |
The label used to show the alert message text.
◆ panel
UIPanel PixelCrushers.DialogueSystem.NGUI.NGUIAlertControls.panel |
The panel containing the alert controls.
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.NGUI.NGUIAlertControls.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/NGUI3 Integration/Assets/Dialogue System/Third Party Support/NGUI/Scripts/NGUI Dialogue UI/NGUI Dialogue Controls/NGUIAlertControls.cs