This component starts the S-Inventory container GUI when the game object receives a specified trigger event. 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 | OnTriggerEnter2D (Collider2D other) |
void | TryStart (Transform actor) |
Opens the item group if the condition is true. More... | |
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 | OnTriggerEnter2D (Collider2D other) |
void | TryStart (Transform actor) |
Opens the item group if the condition is true. More... | |
Public Attributes | |
DialogueTriggerEvent | trigger = DialogueTriggerEvent.OnUse |
The trigger that opens the item group. More... | |
Condition | condition |
The conditions under which the trigger will fire. More... | |
float | walkAwayDistance = 8 |
string | messageIfEmpty = "Empty" |
LocalizedTextTable | localizedTextTable |
Public Attributes inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
bool | once = false |
Set true if this event should only happen once. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
void | DestroyIfOnce () |
This component starts the S-Inventory container GUI when the game object receives a specified trigger event.
For example, you can add this and a static trigger collider to an area. When the player enters the trigger area, this component could open the container.
It also sends OnContainerStart(transform) and OnContainerEnd(transform) messages and shows the cursor.
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnBarkEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnBarkEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnConversationEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnConversationEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnSequenceEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnSequenceEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnTriggerEnter | ( | Collider | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnTriggerEnter | ( | Collider | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnTriggerEnter2D | ( | Collider2D | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnTriggerEnter2D | ( | Collider2D | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnUse | ( | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnUse | ( | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnUse | ( | string | message | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnUse | ( | string | message | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnUse | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.OnUse | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.TryStart | ( | Transform | actor | ) |
Opens the item group if the condition is true.
void PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.TryStart | ( | Transform | actor | ) |
Opens the item group if the condition is true.
Condition PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.condition |
The conditions under which the trigger will fire.
LocalizedTextTable PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.localizedTextTable |
string PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.messageIfEmpty = "Empty" |
DialogueTriggerEvent PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.trigger = DialogueTriggerEvent.OnUse |
The trigger that opens the item group.
float PixelCrushers.DialogueSystem.SInventory.SInventoryContainerTrigger.walkAwayDistance = 8 |