Skip to main content

Class ReadOnlyInspectorAttribute

Makes field readonly in inspector. This is useful for fields that are set by code, but are shown iin inpector for debuggiing

Inheritance
System.Object
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class ReadOnlyInspectorAttribute : PropertyAttribute