Class BehaviourParameterDrawer

Namespace
SurvivorsMaker.Editor
Assembly
SurvivorsMaker.Editor.dll

One named value a custom behaviour reads: key, number and optional text on one row.

[CustomPropertyDrawer(typeof(BehaviourParameter))]
public sealed class BehaviourParameterDrawer : PropertyDrawer
Inheritance
GUIDrawer
PropertyDrawer
BehaviourParameterDrawer
Inherited Members
PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)
PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
PropertyDrawer.preferredLabel

Constructors

BehaviourParameterDrawer()

public BehaviourParameterDrawer()

Methods

CreatePropertyGUI(SerializedProperty)

public override VisualElement CreatePropertyGUI(SerializedProperty property)

Parameters

property SerializedProperty

Returns

VisualElement