Ignition / GameData
Namespace
Playniax.IgnitionScript can be found in
Assets/Playniax/Framework/Ignition/Framework/Core/Scripts/GameData.cs
Class GameData
DescriptionGameData is typically used to store statistics of the game temporarily per scene. It has has a number of built-in variables but custom fields can be added. The information will not be saved and is only avaiable at runtime.
Public fields | Description |
---|
static int bodyCount | Used by the spawners. It tells you the number of spawned objects that are destroyed. |
static int progress | Used by the spawners. It tells you the game progress. |
Config custom = new Config() | Custom data storage. Supports floats, integers, booleans and strings. Have a look at the $Config$ class for more information. |