文档

Unity Engine

Unity Engine

DisplayName

The name Unity displays for the replacement component in the Inspector.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public string DisplayName { get; }

Remarks

If this value is
null
or an empty string, Unity falls back to a name derived from
TypeName
.