|
void | Initialize () |
|
IEnumerable< Vector2Int > | GetTreePoints (int index=-1) |
|
void | RemoveTrees (Vector2Int point, int index=-1) |
|
void | AddTree (Vector2Int point, int index=0, float height=1f, float width=1f, float color=1f) |
|
void | RemoveDetails (Vector2Int point, int index=-1) |
|
override string | SaveData () |
| serializes the objects state(usually to json) and returns it
|
|
override void | LoadData (string json) |
| deserializes the serialized json data and loads the data as its new state
|
|
|
bool | Heights = true |
|
bool | Alphas = true |
|
bool | Trees = true |
|
bool | Details = true |
|
UnityEvent | Loaded |
|
string | Key |
|
◆ LoadData()
override void CityBuilderCore.TerrainModifier.LoadData |
( |
string | json | ) |
|
|
inline |
◆ SaveData()
override string CityBuilderCore.TerrainModifier.SaveData |
( |
| ) |
|
|
inline |
serializes the objects state(usually to json) and returns it
- Returns
- serialized save data
Implements CityBuilderCore.ISaveData.