Class TriggerConditionDrawer

Namespace
SurvivorsMaker.Editor
Assembly
SurvivorsMaker.Editor.dll

One condition: Read only for health ratios, Stat only for stat comparisons, Maximum and bounds only for ranges.

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

Constructors

TriggerConditionDrawer()

public TriggerConditionDrawer()

Methods

CreatePropertyGUI(SerializedProperty)

public override VisualElement CreatePropertyGUI(SerializedProperty property)

Parameters

property SerializedProperty

Returns

VisualElement