ReadOnlyAttribute
A class in Alta.Attributes, the global namespace.
Inspector attribute that shows a field as read only, with separate modes for in and out of play mode.
- Listed in Other Alta assemblies
- Inherits or implements
PropertyAttribute
Constructors
| Member | What it is |
|---|---|
ReadOnlyAttribute(ReadOnlyMode mode = 1) | Creates a ReadOnlyAttribute from outOfPlayMode and inPlayMode. |
ReadOnlyAttribute(ReadOnlyMode outOfPlayMode, ReadOnlyMode inPlayMode) | Creates a ReadOnlyAttribute from outOfPlayMode and inPlayMode. |
Properties
| Member | What it is |
|---|---|
ReadOnlyMode InPlayMode { get; private set; } | Read-only mode used while in play mode. |
ReadOnlyMode OutOfPlayMode { get; private set; } | Read-only mode used outside play mode. |