Class InspectorDisplayAttribute
Adds indentation to a field in the Inspector. Usage: [Indent(1)] public int example;
Inherited Members
InspectorNameAttribute.displayName
PropertyAttribute.order
PropertyAttribute.applyToCollection
Namespace: Glitch9
Assembly: Glitch9.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public class InspectorDisplayAttribute : InspectorNameAttribute
Constructors
| Edit this page View SourceInspectorDisplayAttribute(int)
Declaration
public InspectorDisplayAttribute(int level = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | level |
InspectorDisplayAttribute(string, int)
Declaration
public InspectorDisplayAttribute(string displayName, int level = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | displayName | |
| int | level |
Fields
| Edit this page View SourceindentLevel
Declaration
public readonly int indentLevel
Field Value
| Type | Description |
|---|---|
| int |