PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup Class Reference

Persistent data component for S-Inventory items that get picked up when you click them with the mouse. More...

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

Public Member Functions

void RecordPickedUp ()
 Records in Lua that the item has been picked up. More...
 
void OnApplyPersistentData ()
 Destroys the game object if it's been picked up. More...
 
void RecordPickedUp ()
 Records in Lua that the item has been picked up. More...
 
void OnApplyPersistentData ()
 Destroys the game object if it's been picked up. More...
 

Public Attributes

string saveName = string.Empty
 
bool debug = false
 

Protected Member Functions

virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Properties

string? internalName [get, set]
 
string variableName [get]
 

Detailed Description

Persistent data component for S-Inventory items that get picked up when you click them with the mouse.

Member Function Documentation

◆ OnApplyPersistentData() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.OnApplyPersistentData ( )

Destroys the game object if it's been picked up.

◆ OnApplyPersistentData() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.OnApplyPersistentData ( )

Destroys the game object if it's been picked up.

◆ OnDisable() [1/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.OnDisable ( )
protectedvirtual

◆ OnDisable() [2/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.OnDisable ( )
protectedvirtual

◆ OnEnable() [1/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.OnEnable ( )
protectedvirtual

◆ OnEnable() [2/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.OnEnable ( )
protectedvirtual

◆ RecordPickedUp() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.RecordPickedUp ( )

Records in Lua that the item has been picked up.

◆ RecordPickedUp() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.RecordPickedUp ( )

Records in Lua that the item has been picked up.

Member Data Documentation

◆ debug

bool PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.debug = false

◆ saveName

string PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.saveName = string.Empty

Property Documentation

◆ internalName

string PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.internalName
getset

◆ variableName

string PixelCrushers.DialogueSystem.SInventory.SInventoryPersistentItemPickup.variableName
get

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