The HideIfAttribute is an attribute used to conditionally hide properties in the Editor Inspector based on the value of another property within the same class. This is particularly useful for creating dynamic and user-friendly editor interfaces.
The HideIfAttribute is an attribute used to conditionally hide properties in the Editor Inspector based on the value of another property within the same class. This is particularly useful for creating dynamic and user-friendly editor interfaces.
Member Name | Summary |
---|---|
PropertyName | Property name to test. |
Value | Property value to test against. |
Member Name | Summary |
---|---|
TestCondition(Object, TypeDescription) | Tests the condition based on the target object and type description. |
TestCondition(SerializedObject) | Tests the condition based on the serialized object. |