Class UnlockDefDrawer
- Namespace
- SurvivorsMaker.Editor
- Assembly
- SurvivorsMaker.Editor.dll
Unlock entries pick their target and character parameter by id from the containing content.
[CustomPropertyDrawer(typeof(UnlockDef))]
public sealed class UnlockDefDrawer : PropertyDrawer
- Inheritance
-
GUIDrawerPropertyDrawerUnlockDefDrawer
- Inherited Members
-
PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)PropertyDrawer.attributePropertyDrawer.fieldInfoPropertyDrawer.preferredLabel
Constructors
UnlockDefDrawer()
public UnlockDefDrawer()
Methods
CreatePropertyGUI(SerializedProperty)
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
propertySerializedProperty
Returns
- VisualElement
TargetIds(ContentAsset, UnlockTarget)
public static List<string> TargetIds(ContentAsset content, UnlockTarget target)
Parameters
contentContentAssettargetUnlockTarget