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

Detailed Description

persists and raises the playtime
loads previous playtime on awake and persists it whenever the container is saved
uses the scaled time so when Time.timeScale is set to 0 in menus the playtime does not increase

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

Inheritance diagram for AdventureCore.PlaytimePersister:
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