Skip to main content

StructureType

A class in Root.Township, the global namespace.

Asset for a kind of mining or cave structure, giving the size of one tile. Used by StructureCube, StructurePart and MiningBaseGenerator.

Constructors​

MemberWhat it is
StructureType()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private Vector3 tileSizeBacking field for TileSize.

Properties​

MemberWhat it is
Vector3 TileSize { get; }Size of one structure tile in world units.

Used in​

Members of other types that take, return or hold a StructureType: