Version 2.1.0.0

Odin has a dedicated attribute overview with examples

DisableInPrefabInstancesAttribute class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
[DontApplyToListElements]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field)]
public class DisableInPrefabInstancesAttribute : Attribute, _Attribute
Disables a property if it is drawn from a prefab instance.
Inheritance
  • System.Object
  • System.Attribute
  • DisableInPrefabInstancesAttribute

Constructors

DisableInPrefabInstancesAttribute()
public DisableInPrefabInstancesAttribute()