class InspectorVisibilityAttribute : System.Attribute

book_4_sparkGenerated
code_blocksInput

Description

The InspectorVisibilityAttribute is an abstract class in the Sandbox namespace that allows you to hide a property in the inspector based on a specific condition. This attribute is useful for customizing the visibility of properties in the editor, providing a more dynamic and context-sensitive user interface.

Members

Instance Methods

Member NameSummary
TestConditionDetermines whether the property should be visible based on the given SerializedObject.