Experimental: this API is experimental and might be changed or removed in the future.

TerrainPaintTool<T0>.GetName

public string GetName();

Returns

string Tool name.

Description 描述

Retrieves the name of the custom terrain tool.

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.

See Also: TerrainPaintTool<T0>.