base class for behaviours that save data without being otherwise known to the rest of the system
DefaultGameManager finds all instances and saves them with the specified key
https://citybuilder.softleitner.com/manual
|
void | LoadData (string json) |
| deserializes the serialized json data and loads the data as its new state
|
|
string | SaveData () |
| serializes the objects state(usually to json) and returns it
|
|
◆ LoadData()
void CityBuilderCore.ExtraDataBehaviour.LoadData |
( |
string | json | ) |
|
|
abstract |
◆ SaveData()
string CityBuilderCore.ExtraDataBehaviour.SaveData |
( |
| ) |
|
|
abstract |
serializes the objects state(usually to json) and returns it
- Returns
- serialized save data
Implements CityBuilderCore.ISaveData.