Struct HexCellEntitySettings
Assembly: fwt.hexterrains.dll
Syntax
[Serializable]
public struct HexCellEntitySettings
Fields
Color
Declaration
Field Value
Prefabs
Items of view prefabs for this structure.
The same structure can be displayed using different views
depending on structure amount in a cell (see StatePerPrefab)
Declaration
public FixedList16<Entity> Prefabs
Field Value
StatePerPrefab
Items of State value of structure for prefab with corresponding index.
For instance, this list contains 2 items (0, 1), and States contains 2 items:
0 = for when structure is in 0 State;
1 = for when structure is in 1 State;
So if in the structure is in State = 0, this means we will display this resource using the first prefab from this list
Declaration
public FixedList16<byte> StatePerPrefab
Field Value
Extension Methods