Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


visible

Indicates whether or not this element should be rendered.
Read time 1 minuteLast updated 7 days ago

Definition

public bool visible { get; set; }

Remarks

The value of this property reflects the value of _visibility for this element. The value is true for Visibility.Visible and false for Visibility.Hidden. Writing to this property writes to _visibility.
Invisible elements are ignored by pointer events and by IPanel.Pick.
Additional Resources: _resolvedStyle, _style