Table of Contents

Class ReadOnlyDrawer

Namespace
Coherence.Editor
Assembly
Coherence.Editor.dll
public class ReadOnlyDrawer : PropertyDrawer
Inheritance
ReadOnlyDrawer

Constructors

ReadOnlyDrawer()

public ReadOnlyDrawer()

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