Version 3.3.1.2

EditorOnlyModeConfigUtility class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.Serialization
public static class EditorOnlyModeConfigUtility
Inheritance
  • System.Object
  • EditorOnlyModeConfigUtility

Fields

SERIALIZATION_DISABLED_ERROR_TEXT
public const string SERIALIZATION_DISABLED_ERROR_TEXT = "ERROR: EDITOR ONLY MODE ENABLED\n\nOdin is currently in editor only mode, meaning the serialization system is disabled in builds. This class is specially serialized by Odin - if you try to compile with this class in your project, you *will* get compiler errors. Either disable editor only mode in Tools -> Odin Inspector -> Preferences -> Editor Only Mode, or make sure that this type does not inherit from a type that is serialized by Odin."

Properties

IsSerializationEnabled
public static bool IsSerializationEnabled { get; }

Methods

InternalOnInspectorGUI(Object)
public static void InternalOnInspectorGUI(Object obj)
Parameters
UnityEngine.Object obj