Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisplayName

The name Unity displays for the replacement component in the Inspector.
Read time 1 minuteLast updated 6 days ago

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
.