Class ReadOnlyAttribute Serialized fields marked with the ReadOnly attribute will use a CustomPropertyDrawer to disable UI on the property Inheritance Object ReadOnlyAttribute Namespace: Unity.XRTools.Utils Syntax public class ReadOnlyAttribute : PropertyAttribute