|
|
void | Initialize () |
| |
|
IEnumerable< Vector2Int > | GetTreePoints (int index=-1) |
| |
|
IEnumerable< Vector2Int > | GetTreePoints (IEnumerable< int > indices) |
| |
|
IEnumerable< TreeInstance > | RemoveTrees (Vector2Int point, int index=-1) |
| |
|
IEnumerable< TreeInstance > | RemoveTrees (Vector2Int point, IEnumerable< int > indices) |
| |
|
TreeInstance | AddTree (Vector2Int point, int index=0, float height=1f, float width=1f, float color=1f) |
| |
|
TreeInstance | AddTree (TreeInstance template, int index=0) |
| |
|
TreeInstance | GetTree (Vector2Int point, int index) |
| |
|
TreeInstance | GetTree (Vector2Int point, IEnumerable< int > indices) |
| |
|
IEnumerable< TreeInstance > | GetTrees (Vector2Int point, int index) |
| |
|
IEnumerable< TreeInstance > | GetTrees (Vector2Int point, IEnumerable< int > indices) |
| |
|
void | RemoveDetails (Vector2Int point, int index=-1) |
| |
|
Vector2Int | GetTreePoint (Vector3 position) |
| |
|
Vector3 | GetTreePosition (Vector3 position) |
| |
| 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
|
| |