AllowGUIEnabledForReadonlyAttribute class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class AllowGUIEnabledForReadonlyAttribute : Attribute, _Attribute
Some drawers don't want to have its GUI disabled, even if the property is read-only or a ReadOnly attribute is defined on the property. Use this attribute on any drawer to force GUI being enabled in these cases.
  • System.Object
  • System.Attribute
  • AllowGUIEnabledForReadonlyAttribute
public sealed class SomeDrawerDrawer<T> : OdinValueDrawer<T> where T : class


public AllowGUIEnabledForReadonlyAttribute()

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.