Table of Contents

Class OptionalPropertyDrawer

Namespace
Ceres.Editor
Assembly
Ceres.Editor.dll
public class OptionalPropertyDrawer : PropertyDrawer
Inheritance
OptionalPropertyDrawer

Constructors

OptionalPropertyDrawer()

public OptionalPropertyDrawer()

Methods

GetPropertyHeight(SerializedProperty, GUIContent)

public override float GetPropertyHeight(SerializedProperty property, GUIContent label)

Parameters

property SerializedProperty
label GUIContent

Returns

float

OnGUI(Rect, SerializedProperty, GUIContent)

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

Parameters

position Rect
property SerializedProperty
label GUIContent