Deprecated by DialogueSystemTrigger. More...
Public Member Functions | |
void | OnBarkEnd (Transform actor) |
void | OnConversationEnd (Transform actor) |
void | OnSequenceEnd (Transform actor) |
void | OnUse (Transform actor) |
void | OnUse (string message) |
void | OnUse () |
void | OnTriggerEnter (Collider other) |
void | OnTriggerExit (Collider other) |
void | OnCollisionEnter (Collision collision) |
void | OnCollisionExit (Collision collision) |
void | OnTriggerEnter2D (Collider2D other) |
void | OnTriggerExit2D (Collider2D other) |
void | OnCollisionEnter2D (Collision2D collision) |
void | OnCollisionExit2D (Collision2D collision) |
void | Start () |
void | OnEnable () |
void | OnDisable () |
void | OnLevelWillBeUnloaded () |
void | OnApplicationQuit () |
void | OnDestroy () |
void | TryStart (Transform actor) |
Show the alert if the condition is true. | |
Public Attributes | |
DialogueTriggerEvent | trigger = DialogueTriggerEvent.OnUse |
The trigger that shows the alert. | |
LocalizedTextTable | localizedTextTable |
If localizedTextTable is assigned, message is the field name of a field in the localized text table. | |
string | message |
The message to show. | |
float | duration = 5f |
The duration to show the message. | |
Condition | condition |
The condition required for the alert. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
bool | once = false |
Set true if this event should only happen once. | |
Additional Inherited Members | |
Protected Member Functions inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
void | DestroyIfOnce () |
Properties inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
virtual bool | useOnce [get] |
Deprecated by DialogueSystemTrigger.
The Alert Trigger component shows a gameplay alert when a trigger event occurs. If a LocalizedTextTable has been asssigned to the Dialogue Manager, it will use localized version of the alert message.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Show the alert if the condition is true.
Condition PixelCrushers.DialogueSystem.AlertTrigger.condition |
The condition required for the alert.
float PixelCrushers.DialogueSystem.AlertTrigger.duration = 5f |
The duration to show the message.
LocalizedTextTable PixelCrushers.DialogueSystem.AlertTrigger.localizedTextTable |
If localizedTextTable is assigned, message is the field name of a field in the localized text table.
string PixelCrushers.DialogueSystem.AlertTrigger.message |
The message to show.
DialogueTriggerEvent PixelCrushers.DialogueSystem.AlertTrigger.trigger = DialogueTriggerEvent.OnUse |
The trigger that shows the alert.