using UnityEngine; namespace EditorAttributes { /// /// Attribute to make a field readonly in the inspector /// public class ReadOnlyAttribute : PropertyAttribute { /// /// Attribute to make a field readonly in the inspector /// public ReadOnlyAttribute() #if UNITY_2023_3_OR_NEWER : base(true) #endif { } } }