DrawIfPropertyDrawer Class Reference

Based on: https://forum.unity.com/threads/draw-a-field-only-if-a-condition-is-met.448855/ More...

Inheritance diagram for DrawIfPropertyDrawer:

Public Member Functions

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

Detailed Description

Member Function Documentation

◆ GetPropertyHeight()

override float DrawIfPropertyDrawer.GetPropertyHeight ( SerializedProperty  property,
GUIContent  label 
)

◆ OnGUI()

override void DrawIfPropertyDrawer.OnGUI ( Rect  position,
SerializedProperty  property,
GUIContent  label 
)

The documentation for this class was generated from the following file: