Table of Contents

Class InspectorPropertyDrawer

Namespace
Ceres.Editor.Graph
Assembly
Ceres.Graph.Editor.dll

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

prop SerializedProperty

Serialized property to draw

fieldInfoMap Dictionary<string, FieldInfo>

Map of field names to FieldInfo for type checking

allowedFieldNames HashSet<string>

Set of allowed field names

Returns

bool

True if the property was drawn, false if it should be skipped