Documentation

Unity Engine

Unity Engine

display

Defines how an element is displayed in the layout.
Read time 1 minuteLast updated 2 months ago

Definition

DisplayStyle display { get; }

Remarks

Unlike the visibility property, this property affects the layout of the element. This is a convenient way to hide an element without removing it from the hierarchy (when using the DisplayStyle.None).