文档

Unity Engine

Unity Engine

defaultName

Name of the default instance of this brush.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TilemapModule
public string defaultName { get; }

Remarks

In addition to asset instances of brush class, Unity creates a default instance of every brush to be shown in the palette window dropdown. This is the display name of that instance.
If the defaultName is not set, the type name will be used by default.