InspectorConfig

Tell Odin which types should be drawn or should not be drawn by Odin.

You can modify which types should be drawn by Odin in the Preferences window found in 'Tools -> Odin Inspector -> Preferences -> Editor Types', or by locating the configuration file stored as a serialized object in the Sirenix folder under 'Odin Inspector/Config/Editor/InspectorConfig'.

namespace Sirenix.OdinInspector.Editor
{
[Sirenix.Utilities.SirenixEditorConfigAttribute]
public class InspectorConfig : GlobalConfig<InspectorConfig>, UnityEngine.ISerializationCallbackReceiver
}

Requirements

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

Properties

Return Type Definition Description
InspectorDefaultEditors DefaultEditorBehaviour InspectorDefaultEditors is a bitmask used to tell which types should have an Odin Editor generated.
InspectorTypeDrawingConfig DrawingConfig The config which contains configuration data for which types Odin should draw in the inspector.
bool EnableOdinInInspector Whether Odin is enabled in the inspector or not.

Methods

Return Type Definition Description
void UpdateOdinEditors() Updates Unity with the current Odin editor configuration.