|
ClassicCityBuilderKit 1.9.4
|
behaviour that makes save/load accessible to unity events
unity events could also be pointed directly to the game manager but if that is in a different prefab that can get annoying
Public Member Functions | |
| void | Save () |
| saves to the quick slot | |
| void | SaveNamed (string name) |
| saves the game under a specified name | |
| void | Load () |
| loads from the quick slot | |
| void | LoadNamed (string name) |
| loads from a specified name | |
Public Attributes | |
| BoolEvent | IsSavingChanged |
| fired true at the start of saving and false at the end, might be used to display save messages | |
| BoolEvent | IsLoadingChanged |
| fired true at the start of loading and false at the end, might be used to display loading messages | |
Properties | |
| bool | IsSaving [get] |
| check if the game is currently saving | |
| bool | IsLoading [get] |
| check if the game is currently loading, used to suppress certain checks and initializations during loading | |
Properties inherited from CityBuilderCore.IGameSaver | |
| void CityBuilderCore.GameSaverProxy.Load | ( | ) |
loads from the quick slot
Implements CityBuilderCore.IGameSaver.
| void CityBuilderCore.GameSaverProxy.LoadNamed | ( | string | name | ) |
loads from a specified name
| name | name that has been previously saved to |
Implements CityBuilderCore.IGameSaver.
| void CityBuilderCore.GameSaverProxy.Save | ( | ) |
saves to the quick slot
Implements CityBuilderCore.IGameSaver.
| void CityBuilderCore.GameSaverProxy.SaveNamed | ( | string | name | ) |
saves the game under a specified name
| name | the name for the save that can later be used when loading |
Implements CityBuilderCore.IGameSaver.
|
get |
check if the game is currently loading, used to suppress certain checks and initializations during loading
Implements CityBuilderCore.IGameSaver.
|
get |
check if the game is currently saving
Implements CityBuilderCore.IGameSaver.