InspectorTypeDrawingConfigDrawer

Draws an InspectorTypeDrawingConfig instance, and contains methods getting all types that should be drawn by Odin.

Note that this class keeps a lot of static state, and is only intended to draw the instance of InspectorTypeDrawingConfig that exists in the InspectorConfig singleton asset. If used to draw other instances, odd behaviour may occur.

namespace Sirenix.OdinInspector.Editor
{
public class InspectorTypeDrawingConfigDrawer : OdinValueDrawer<InspectorTypeDrawingConfig>
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

See Also

Static Methods

Return Type Definition Description
TypeDrawerPair[] GetEditors() Gets an array of all assigned editor types, and the types they have to draw.
bool OdinCanCreateEditorFor(Type) Determines whether Odin is capable of creating a custom editor for a given type.

Methods

Return Type Definition Description
void DrawPropertyLayout(GUIContent) Draws the property.