API reference
API reference
Select your platform
No SDKs available
No versions available

HideIfDrawer Class

Extends PropertyDrawer
A drawer to handle drawing fields with a [HideIf] attribute. When fields have this attribute they will be hidden in the inspector conditionally based on the evaluation of a field or property.

Member Functions

override void OnGUI
( Rect position,
SerializedProperty property,
GUIContent label )
override float GetPropertyHeight
( SerializedProperty property,
GUIContent label )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon