using UnityEngine; namespace EditorAttributes { /// /// Attribute to disable a field when outside of play mode /// public class DisableInEditModeAttribute : PropertyAttribute { /// /// Attribute to disable a field when outside of play mode /// public DisableInEditModeAttribute() #if UNITY_2023_3_OR_NEWER : base(true) #endif { } } }