文档

Unity Engine

Unity Engine

GetName()

Retrieves the name of the custom terrain tool.
阅读时间1 分钟最后更新于 1 个月前

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>.