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
-
GUIDrawerPropertyDrawerBehaviourParameterDrawer
- Inherited Members
-
PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)PropertyDrawer.attributePropertyDrawer.fieldInfoPropertyDrawer.preferredLabel
Constructors
BehaviourParameterDrawer()
public BehaviourParameterDrawer()
Methods
CreatePropertyGUI(SerializedProperty)
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
propertySerializedProperty
Returns
- VisualElement