Api HideIfAttribute
class

HideIfAttribute

public class HideIfAttribute : ConditionalVisibilityAttribute

Hide this property if a given property within the same class has the given value. Used typically in the Editor Inspector.

Constructors

HideIfAttribute(String propertyName, Object value)

Properties

Name Type Description
PropertyName String Property name to test.
Value Object Property value to test against.

Methods

virtual Boolean TestCondition(Object targetObject, TypeDescription td)
virtual Boolean TestCondition(SerializedObject so)
Assembly: Sandbox.Engine Full Name: HideIfAttribute