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