Table of Contents

Class DummyPorpertyDrawer

Namespace
Gamelogic.Extensions.Editor
Assembly
Assembly-CSharp-Editor.dll

Draws a property marked with the Dummy attribute (that is, does not draw it).

[CustomPropertyDrawer(typeof(DummyAttribute))]
public class DummyPorpertyDrawer : PropertyDrawer
Inheritance
GUIDrawer
DummyPorpertyDrawer
Inherited Members
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
Extension Methods

Methods

GetPropertyHeight(SerializedProperty, GUIContent)

Override this method to specify how tall the GUI for this field is in pixels.

public override float GetPropertyHeight(SerializedProperty prop, GUIContent label)

Parameters

prop SerializedProperty
label GUIContent

The label of this property.

Returns

float

The height in pixels.

OnGUI(Rect, SerializedProperty, GUIContent)

Override this method to make your own IMGUI based GUI for the property.

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

Parameters

position Rect

Rectangle on the screen to use for the property GUI.

prop SerializedProperty
label GUIContent

The label of this property.