Class AssetReferenceDrawer
public abstract class AssetReferenceDrawer : PropertyDrawer
- Inheritance
-
AssetReferenceDrawer
- Derived
Constructors
AssetReferenceDrawer()
protected AssetReferenceDrawer()
Methods
GetAssetType()
protected abstract Type GetAssetType()
Returns
GetPropertyHeight(SerializedProperty, GUIContent)
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
propertySerializedPropertylabelGUIContent
Returns
OnGUI(Rect, SerializedProperty, GUIContent)
public override sealed void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
positionRectpropertySerializedPropertylabelGUIContent