EditorOnlyModeConfig

Editor Only Mode Utility.

namespace Sirenix.OdinInspector.Editor
{
[Sirenix.Utilities.GlobalConfigAttribute(UseAsset = False)]
public sealed class EditorOnlyModeConfig : GlobalConfig<EditorOnlyModeConfig>
}

Requirements

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

Methods

Return Type Definition Description
void DisableEditorOnlyMode() Disables Editor Only Mode.
void EnableEditorOnlyMode(bool) Enables editor only mode.
bool IsEditorOnlyModeEnabled() Checks to see whether Editor Only Mode is enabled.
bool IsInSourceCode() Checks to see whether Odin Inspector is installed in Source Code mode.
void Update() Gaither all necessary information about the editor only state.