NGUI controls for NGUIDialogueUI's alert message.
More...
|
override void | SetActive (bool value) |
| Sets the alert controls active.
|
|
override void | SetMessage (string message, float duration) |
| Sets the alert message and begins the fade in/out routine.
|
|
IEnumerator | FadeOut (Action FadedOutHandler) |
| Fades out the alert line.
|
|
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.
|
|
|
global::UIPanel | panel |
| The panel containing the alert controls.
|
|
UILabel | line |
| The label used to show the alert message text.
|
|
UIButton | continueButton |
| Optional continue button to close the alert immediately.
|
|
float | fadeOutDuration = 1 |
| The duration to fade out at the end of showing the alert.
|
|
|
override bool | isVisible [get] |
| Is an alert currently showing?
|
|
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?
|
|
NGUI controls for NGUIDialogueUI's alert message.
◆ FadeOut()
IEnumerator PixelCrushers.DialogueSystem.NGUISupport.NGUIAlertControls.FadeOut |
( |
Action |
FadedOutHandler | ) |
|
|
inline |
Fades out the alert line.
- Returns
- IEnumerator (coroutine).
- Parameters
-
FadedOutHandler | Handler to call when finished fading out. |
◆ SetActive()
override void PixelCrushers.DialogueSystem.NGUISupport.NGUIAlertControls.SetActive |
( |
bool |
value | ) |
|
|
inline |
Sets the alert controls active.
- Parameters
-
◆ SetMessage()
override void PixelCrushers.DialogueSystem.NGUISupport.NGUIAlertControls.SetMessage |
( |
string |
message, |
|
|
float |
duration |
|
) |
| |
|
inline |
Sets the alert message and begins the fade in/out routine.
- Parameters
-
message | Alert message. |
duration | Duration to show message. |
◆ continueButton
UIButton PixelCrushers.DialogueSystem.NGUISupport.NGUIAlertControls.continueButton |
Optional continue button to close the alert immediately.
◆ fadeOutDuration
float PixelCrushers.DialogueSystem.NGUISupport.NGUIAlertControls.fadeOutDuration = 1 |
The duration to fade out at the end of showing the alert.
◆ line
UILabel PixelCrushers.DialogueSystem.NGUISupport.NGUIAlertControls.line |
The label used to show the alert message text.
◆ panel
global.UIPanel PixelCrushers.DialogueSystem.NGUISupport.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.NGUISupport.NGUIAlertControls.isVisible |
|
get |
Is an alert currently showing?
true
if showing; otherwise, false
.
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Integration2/NGUI Integration/Assets/Pixel Crushers/Dialogue System/Third Party Support/NGUI Support/Scripts/NGUI Dialogue UI/NGUI Dialogue Controls/NGUIAlertControls.cs