Class ViewEntryDrawer

Namespace
SurvivorsMaker.Editor
Assembly
SurvivorsMaker.Editor.dll

One view catalog entry: id, look, UI icon, and the weapon's own projectile look in a sub-foldout.

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

Constructors

ViewEntryDrawer()

public ViewEntryDrawer()

Methods

CreatePropertyGUI(SerializedProperty)

public override VisualElement CreatePropertyGUI(SerializedProperty property)

Parameters

property SerializedProperty

Returns

VisualElement