This component starts the S-Inventory vendor 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 vendor 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 vendor if the condition is true. More... | |
Public Attributes | |
DialogueTriggerEvent | trigger = DialogueTriggerEvent.OnUse |
The trigger that opens the vendor. More... | |
Condition | condition |
The conditions under which the trigger will fire. More... | |
float | walkAwayDistance = 8 |
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 vendor 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 vendor.
It also sends OnSInventoryGUIStart(transform) and OnSInventoryGUIEnd(transform) messages, shows the cursor, and temporarily disables BarkOnIdle.
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnBarkEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnBarkEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnConversationEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnConversationEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnSequenceEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnSequenceEnd | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnTriggerEnter | ( | Collider | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnTriggerEnter | ( | Collider | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnTriggerEnter2D | ( | Collider2D | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnTriggerEnter2D | ( | Collider2D | other | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnUse | ( | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnUse | ( | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnUse | ( | string | message | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnUse | ( | string | message | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnUse | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.OnUse | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.TryStart | ( | Transform | actor | ) |
Opens the vendor if the condition is true.
void PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.TryStart | ( | Transform | actor | ) |
Opens the vendor if the condition is true.
Condition PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.condition |
The conditions under which the trigger will fire.
DialogueTriggerEvent PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.trigger = DialogueTriggerEvent.OnUse |
The trigger that opens the vendor.
float PixelCrushers.DialogueSystem.SInventory.SInventoryVendorTrigger.walkAwayDistance = 8 |