Table of Contents

Class AssetReferenceDrawer

Namespace
Ceres.Resource.Editor
Assembly
Ceres.Editor.dll
public abstract class AssetReferenceDrawer : PropertyDrawer
Inheritance
AssetReferenceDrawer
Derived

Constructors

AssetReferenceDrawer()

protected AssetReferenceDrawer()

Methods

GetAssetType()

protected abstract Type GetAssetType()

Returns

Type

GetPropertyHeight(SerializedProperty, GUIContent)

public override float GetPropertyHeight(SerializedProperty property, GUIContent label)

Parameters

property SerializedProperty
label GUIContent

Returns

float

OnGUI(Rect, SerializedProperty, GUIContent)

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

Parameters

position Rect
property SerializedProperty
label GUIContent