Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


displayName

Display name of the property (Read Only).
Read time 1 minuteLast updated 6 days ago

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.