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

HideIfDrawer Class

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.
Meta::WitAi::Drawers::HideIfDrawer extends PropertyDrawer.

Overview

Public Member Functions

override void
OnGUI
( Rect position,
SerializedProperty property,
GUIContent label )
override float
GetPropertyHeight
( SerializedProperty property,
GUIContent label )

Details

Member Functions

override void Meta.WitAi.Drawers.HideIfDrawer.OnGUI
( Rect position,
SerializedProperty property,
GUIContent label )
No description available.
override float Meta.WitAi.Drawers.HideIfDrawer.GetPropertyHeight
( SerializedProperty property,
GUIContent label )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon