GrowerGroupSaveData.Item
A class in Root.Township, the global namespace.
Saved state of one growing item in a GrowerGroup.
- Listed in Global namespace: E to H
- Nested in
GrowerGroupSaveData
Constructors
| Member | What it is |
|---|---|
Item() | Creates a GrowerGroupSaveData.Item with default values. |
Fields
| Member | What it is |
|---|---|
int childIndex | Child serializer index of the item's spawned entity, or -1 if it has none. |
int currentStage | The growth stage the item has reached. |
GrowthDefinition definition | The growth definition the item follows. |
bool hasStarted | Whether growth has started. |
Vector3 position | Saved position of the item. |
Quaternion rotation | Saved rotation of the item. |
int spawnedStageIndex | The stage whose object is currently spawned. |
TimeSpan startedTime | Timeline time when growth started. Stage progress on load is worked out from this. |
Used in
Members of other types that take, return or hold a Item: