Class GenericPropertyDrawer<T>
Inheritance
UnityEditor.GUIDrawer
UnityEditor.PropertyDrawer
GenericPropertyDrawer<T>
Inherited Members
UnityEditor.PropertyDrawer.CreatePropertyGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.GetPropertyHeight(UnityEditor.SerializedProperty, UnityEngine.GUIContent)
UnityEditor.PropertyDrawer.CanCacheInspectorGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.attribute
UnityEditor.PropertyDrawer.fieldInfo
Namespace: QFSW.BA
Assembly: QFSW.BA.dll
Syntax
public abstract class GenericPropertyDrawer<T> : PropertyDrawer where T : class
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
OnGUI(LayoutController, T, SerializedProperty, GUIContent)
Declaration
protected abstract void OnGUI(LayoutController layout, T item, SerializedProperty property, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| QFSW.BA.QGUI.LayoutController | layout | |
| T | item | |
| UnityEditor.SerializedProperty | property | |
| UnityEngine.GUIContent | label |
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.Rect | position | |
| UnityEditor.SerializedProperty | property | |
| UnityEngine.GUIContent | label |
Overrides
UnityEditor.PropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.SerializedProperty, UnityEngine.GUIContent)