Class TerraformingTool
This is the terraforming tool. This class is responsible for scheduling terrain modifications based on selection changes and user input.
Inheritance
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
TerraformingTool
Inherited Members
Namespace: TycoonTerrain.Tools
Assembly: TycoonTerrainAssembly.dll
Syntax
[DisallowMultipleComponent]
[AddComponentMenu("Tycoon Tile/Tools/Terraforming Tool")]
public class TerraformingTool : SelectionToolBase
Fields
OnTerraformEvent
The on terraform event.
Declaration
public UnityEvent OnTerraformEvent
Field Value
Type | Description |
---|---|
Unity |
The on terraform event. |
UseSmooth
The whether to use smooth terrain terraforming. Generates cliffs on selection edges if disabled.
Declaration
public bool UseSmooth
Field Value
Type | Description |
---|---|
Boolean |
|
Methods
OnDisable()
Declaration
protected override void OnDisable()