Class OfferGuaranteeEntryDrawer

Namespace
SurvivorsMaker.Editor
Assembly
SurvivorsMaker.Editor.dll

Fixed-product guarantee: the Item field shows unless Kind is Weapon, the Weapon field unless Kind is Item.

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

Constructors

OfferGuaranteeEntryDrawer()

public OfferGuaranteeEntryDrawer()

Methods

CreatePropertyGUI(SerializedProperty)

public override VisualElement CreatePropertyGUI(SerializedProperty property)

Parameters

property SerializedProperty

Returns

VisualElement