Class PainterTool
This is the painting tool. This class is responsible for scheduling painting operations based on selection changes and user input.
Inheritance
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
PainterTool
Inherited Members
Namespace: TycoonTerrain.Tools
Assembly: TycoonTerrainAssembly.dll
Syntax
[DisallowMultipleComponent]
[AddComponentMenu("Tycoon Tile/Tools/Terraforming Tool")]
public class PainterTool : SelectionToolBase
Fields
selectedTerrainType
The identifier of the selected terrain type.
Declaration
[Tooltip("The id of the currently selected terrain type.")]
public ushort selectedTerrainType
Field Value
Type | Description |
---|---|
UInt16 | The identifier of the selected terrain type. |
Methods
OnDisable()
Declaration
protected override void OnDisable()
Overrides
OnEnable()
Declaration
protected override void OnEnable()