C# Class Coimbra.Editor.ManagedFieldDrawer

Inheritance: PropertyDrawer
Afficher le fichier Open project: coimbrastudios/framework

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

GetPropertyHeight() public méthode

public GetPropertyHeight ( SerializedProperty property, GUIContent label ) : float
property SerializedProperty
label GUIContent
Résultat float

OnGUI() public méthode

public OnGUI ( Rect position, SerializedProperty property, GUIContent label ) : void
position Rect
property SerializedProperty
label GUIContent
Résultat void