Loading...
Searching...
No Matches
AdventureCore.PersistenceTrigger< T > Class Template Referenceabstract

Detailed Description

provides unity events that are fired in relation to a persisted value
for example to disable or enable a barrier when some persisted bool is set

Template Parameters
Ttype of the persisted value
Inheritance diagram for AdventureCore.PersistenceTrigger< T >:

Public Attributes

PersistenceArea Area
 
string Key
 
bool Observe = true
 
UnityEvent< T > Changed
 
UnityEvent< T > ChangedInverted
 
bool Compare = false
 
ComparisonValue
 
UnityEvent< bool > ComparisonChanged
 

Protected Member Functions

virtual void onChanged (T value)