文档

Unity Engine

Unity Engine

displayName

Display name of the property (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public string displayName { get; }

Remarks

This is the user-visible property name, for example "Main Texture" that is declared in the shader's Properties block.
Additional Resources: MaterialProperty.name.