PixelCrushers.DialogueSystem.Wrappers.PersistentDestructible Class Reference

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...

Inheritance diagram for PixelCrushers.DialogueSystem.Wrappers.PersistentDestructible:
Collaboration diagram for PixelCrushers.DialogueSystem.Wrappers.PersistentDestructible:

Additional Inherited Members

- Public Types inherited from PixelCrushers.DialogueSystem.PersistentDestructible
enum  RecordOn { Destroy , Disable }
 
- Public Member Functions inherited from PixelCrushers.DialogueSystem.PersistentDestructible
void OnApplyPersistentData ()
 When applying persistent data, check the variable.
 
void OnLevelWillBeUnloaded ()
 If the level is being unloaded, this GameObject will be destroyed.
 
void OnApplicationQuit ()
 If the application is ending, don't listen, as this can log errors in the console.
 
void OnDestroy ()
 If the GameObject is destroyed, set its Lua variable true.
 
void OnDisable ()
 
- Public Attributes inherited from PixelCrushers.DialogueSystem.PersistentDestructible
RecordOn recordOn = RecordOn.Destroy
 
string variableName = string.Empty
 Assign a Lua variable name to keep track of whether the GameObject has been destroyed.
 
GameObject spawnWhenDestroyed
 
- Protected Member Functions inherited from PixelCrushers.DialogueSystem.PersistentDestructible
virtual void OnEnable ()
 Only listen for OnDestroy if the script has been enabled.
 
- Protected Attributes inherited from PixelCrushers.DialogueSystem.PersistentDestructible
bool listenForOnDestroy = false
 
- Properties inherited from PixelCrushers.DialogueSystem.PersistentDestructible
string ActualVariableName [get]
 

Detailed Description

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class.


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