Class TerrainTypeDefinition
This asset defines how a given terrain type is displayed.
Namespace: TycoonTerrain.Core
Assembly: TycoonTerrainAssembly.dll
Syntax
[CreateAssetMenu(menuName = "Tycoon Tile/Terrain Type Definition")]
public class TerrainTypeDefinition : ScriptableObject
Fields
CliffMaterial
The cliff material.
Declaration
[Tooltip("Used for rendering the cliff of tiles with this terrain type.")]
public Material CliffMaterial
Field Value
Type | Description |
---|---|
UnityEngine.Material | The cliff material. |
SurfaceMaterial
The surface material.
Declaration
[Tooltip("Used for rendering the surface of tiles with this terrain type.")]
public Material SurfaceMaterial
Field Value
Type | Description |
---|---|
UnityEngine.Material | The surface material. |