visible
Indicates whether or not this element should be rendered.
読み終わるまでの所要時間 1 分最終更新 20日前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public bool visible { get; set; }
Remarks
The value of this property reflects the value of IResolvedStyle.visibility for this element. The value is true for Visibility.Visible and false for Visibility.Hidden. Writing to this property writes to IStyle.visibility.
Invisible elements are ignored by pointer events and by IPanel.Pick.
Additional Resources: VisualElement.resolvedStyle, VisualElement.style