C# Class Coimbra.Editor.ManagedFieldDrawer

Inheritance: PropertyDrawer
ファイルを表示 Open project: coimbrastudios/framework

Public Methods

Method Description
DrawGUI ( Rect position, SerializedProperty property, GUIContent label, bool allowSceneObjects ) : void

Draws a ManagedField{T}. Optionally also allow scene objects to be selected.

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

Private Methods

Method Description
DrawSystemDropdown ( Rect position, Type managedType, SerializedProperty systemObject ) : void
DrawUnityField ( Rect position, Type managedType, SerializedProperty systemObject, SerializedProperty unityObject, GUIContent label, bool allowSceneObjects, bool useManagedType ) : void

Method Details

DrawGUI() public method

Draws a ManagedField{T}. Optionally also allow scene objects to be selected.
public DrawGUI ( Rect position, SerializedProperty property, GUIContent label, bool allowSceneObjects ) : void
position Rect
property SerializedProperty
label GUIContent
allowSceneObjects bool
return void

GetPropertyHeight() public method

public GetPropertyHeight ( SerializedProperty property, GUIContent label ) : float
property SerializedProperty
label GUIContent
return float

OnGUI() public method

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