Struct CreateCellMineralsLayerRequest
Buffer element data that represents a request to create a CellMineralsLayer with the specified name and arguments.
Inherited Members
Namespace: Fwt.HexTerrains.Minerals.Data
Assembly: fwt.hexterrains.dll
Syntax
public struct CreateCellMineralsLayerRequest : IBufferElementData, ITerrainLayerFactory
Fields
Args
Args to intialize a layer with
Declaration
public UnityObjectRef<CellMineralsLayerConfigAsset> Args
Field Value
| Type | Description |
|---|---|
| UnityObjectRef<CellMineralsLayerConfigAsset> |
Name
Name of the layer to create
Declaration
public FixedString128Bytes Name
Field Value
| Type | Description |
|---|---|
| FixedString128Bytes |
Methods
CreateTerrainLayer()
Creates a new instance of a terrain layer for hex-based maps.
Declaration
public HexTerrainLayer CreateTerrainLayer()
Returns
| Type | Description |
|---|---|
| HexTerrainLayer | A HexTerrainLayer representing the newly created terrain layer. |
Implements
Unity.Entities.IBufferElementData