PieceSaveData
A class in Root.Township, Alta.Carpentry.
Saved state of one carpentry timber piece: whether it has been hit, how far it is chiselled, and its direction.
- Listed in Crafting and making
Constructors
| Member | What it is |
|---|---|
PieceSaveData() | Creates a PieceSaveData with default values. |
Fields
| Member | What it is |
|---|---|
Vector3 currentHittingDirection | The direction of the first hit. |
bool hasDirection | Whether the piece has been hit yet. |
bool isDone | Whether the piece has been fully chiselled off. |
Vector3 pivotDirection | Current direction the piece tilts away in. |
float progress | Chiselling progress from 0 to 1. |
PieceSaveData[] subData | Save data of child pieces. |
Used in
Members of other types that take, return or hold a PieceSaveData: