Skip to content

SubassetPropertyDrawer

Namespace: SideXP.Core.EditorOnly | Inherits from: PropertyDrawer

public class SubassetPropertyDrawer : PropertyDrawer

Displays a field to create or edit a subasset for a property marked with the [Subasset] attribute.

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

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

Inherited documentation.

GetPropertyHeight(SerializedProperty, GUIContent)

public override float GetPropertyHeight(SerializedProperty property, GUIContent label)

Inherited documentation.