Skip to main content

Introduction

The Stats Database component provides a list of all objects that can be used by various Stat Sources. This way they can be reused and quickly updated by AssetBundles or Json updates.

"Stats Database"

Fields#

NameDescription
PersistMark this object as DontDestroyOnLoad
Data SourceSets where to load the data from
Bundle NameName of the AssetBundle to load from
Asset NameName of the Asset in the AssetBundle to load
PathRelative path to asset in Resources
Load On AwakeLoad data on awake
Action SequencesList of available Action Sequences
AttributesList of available Attributes
BackgroundsList of available Backgrounds
ClassesList of available Classes
EffectsList of available Status Effects
EventsList of available Stat Events
PerksList of available Perks
RacesList of available Races
Status ConditionsList of available Status Conditions
Level RewardsList of available Level Rewards
Custom RewardsList of available Custom Rewards
SettingsDatabase Settings

Properties#

NameDescription
actionSequencesReturns a list of all available Action Sequences
instanceReturns a reference to the current instance
isLoadedTrue if the database has been loaded

Methods#

NameDescription
LoadLoad data from source