Documentation

Unity Engine

Unity Engine

GetName()

Retrieves the name of the custom terrain tool.
Read time 1 minuteLast updated a month ago

Definition

public abstract string GetName()

Returns

Type

Description

stringTool name.

Remarks

This function must be implemented. Unity calls this method to populate the terrain tool inspector. To override a built-in tool with this one, you can provide the same name as the tool to override.
Additional Resources: TerrainPaintTool<T>.