Loading...
Searching...
No Matches
AdventureCore.DestructionPersister Class Reference

Detailed Description

persister that automatically saves the destruction of its gameobject
if it gets awoken again(for example by a scene reload) it reconstructs that state by destroying its gameobject
useful for destructible decorators like crates

https://adventure.softleitner.com/manual/persistence

Inheritance diagram for AdventureCore.DestructionPersister:
AdventureCore.ManualPersister AdventureCore.PersisterBase AdventureCore.IPersister

Additional Inherited Members

- Public Member Functions inherited from AdventureCore.ManualPersister
override bool Check (string subKey=null)
 
override T Get< T > (string subKey=null, T defaultValue=default)
 
override void Set< T > (T value, string subKey=null)
 
override void Clear (string subKey=null)
 
void SetBool (bool value)
 
void SetInt (int value)
 
void SetFloat (float value)
 
- Public Member Functions inherited from AdventureCore.PersisterBase
bool Check (string subKey=null)
 
Get< T > (string subKey=null, T defaultValue=default)
 
void Set< T > (T value, string subKey=null)
 
void Clear (string subKey=null)
 
- Public Attributes inherited from AdventureCore.ManualPersister
PersistenceArea Area
 
string Key
 
PersistenceContainer CustomContainer
 
- Properties inherited from AdventureCore.ManualPersister
override PersistenceArea PersistenceArea [get, set]
 
override string PersistenceKey [get, set]
 
virtual PersistenceContainer Container [get]
 
- Properties inherited from AdventureCore.PersisterBase
string PersistenceKey [get, set]
 
PersistenceArea PersistenceArea [get, set]
 
- Properties inherited from AdventureCore.IPersister