PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger Class Reference

This component starts the S-Inventory item group GUI when the game object receives a specified trigger event. More...

Inheritance diagram for PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger:
Collaboration diagram for PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger:

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 ()
 

Detailed Description

This component starts the S-Inventory item group 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 item group.

It also sends OnItemGroupStart(transform) and OnItemGroupEnd(transform) messages and shows the cursor.

Member Function Documentation

◆ OnBarkEnd() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnBarkEnd ( Transform  actor)

◆ OnBarkEnd() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnBarkEnd ( Transform  actor)

◆ OnConversationEnd() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnConversationEnd ( Transform  actor)

◆ OnConversationEnd() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnConversationEnd ( Transform  actor)

◆ OnSequenceEnd() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnSequenceEnd ( Transform  actor)

◆ OnSequenceEnd() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnSequenceEnd ( Transform  actor)

◆ OnTriggerEnter() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnTriggerEnter ( Collider  other)

◆ OnTriggerEnter() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnTriggerEnter ( Collider  other)

◆ OnTriggerEnter2D() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnTriggerEnter2D ( Collider2D  other)

◆ OnTriggerEnter2D() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnTriggerEnter2D ( Collider2D  other)

◆ OnUse() [1/6]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnUse ( )

◆ OnUse() [2/6]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnUse ( )

◆ OnUse() [3/6]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnUse ( string  message)

◆ OnUse() [4/6]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnUse ( string  message)

◆ OnUse() [5/6]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnUse ( Transform  actor)

◆ OnUse() [6/6]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.OnUse ( Transform  actor)

◆ TryStart() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.TryStart ( Transform  actor)

Opens the item group if the condition is true.

◆ TryStart() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.TryStart ( Transform  actor)

Opens the item group if the condition is true.

Member Data Documentation

◆ condition

Condition PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.condition

The conditions under which the trigger will fire.

◆ localizedTextTable

LocalizedTextTable PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.localizedTextTable

◆ messageIfEmpty

string PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.messageIfEmpty = "Empty"

◆ trigger

DialogueTriggerEvent PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.trigger = DialogueTriggerEvent.OnUse

The trigger that opens the item group.

◆ walkAwayDistance

float PixelCrushers.DialogueSystem.SInventory.SInventoryItemGroupTrigger.walkAwayDistance = 8

The documentation for this class was generated from the following file: