Skip to main content

GrowerGroupSaveData.Item

A class in Root.Township, the global namespace.

Saved state of one growing item in a GrowerGroup.

Constructors​

MemberWhat it is
Item()Creates a GrowerGroupSaveData.Item with default values.

Fields​

MemberWhat it is
int childIndexChild serializer index of the item's spawned entity, or -1 if it has none.
int currentStageThe growth stage the item has reached.
GrowthDefinition definitionThe growth definition the item follows.
bool hasStartedWhether growth has started.
Vector3 positionSaved position of the item.
Quaternion rotationSaved rotation of the item.
int spawnedStageIndexThe stage whose object is currently spawned.
TimeSpan startedTimeTimeline 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: