Class InspectorPropertyDrawer
Utility class for drawing inspector properties with special handling for SharedVariable fields
public static class InspectorPropertyDrawer
- Inheritance
-
InspectorPropertyDrawer
- Inherited Members
Methods
DrawPropertyField(SerializedProperty, Dictionary<string, FieldInfo>, HashSet<string>)
Draw a property field with special handling for SharedVariable types
public static bool DrawPropertyField(SerializedProperty prop, Dictionary<string, FieldInfo> fieldInfoMap, HashSet<string> allowedFieldNames)
Parameters
propSerializedPropertySerialized property to draw
fieldInfoMapDictionary<string, FieldInfo>Map of field names to FieldInfo for type checking
allowedFieldNamesHashSet<string>Set of allowed field names
Returns
- bool
True if the property was drawn, false if it should be skipped