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