Class FoldoutAttribute
Use this to organise your public properties in the inspector into collapsable groups.
Inheritance
System.Object
FoldoutAttribute
Namespace: ScriptableFramework
Assembly: cs.temp.dll.dll
Syntax
public class FoldoutAttribute : PropertyAttribute
Constructors
FoldoutAttribute(String, Boolean)
Adds the property to the specified foldout group.
Declaration
public FoldoutAttribute(string name, bool foldEverything = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the foldout group. |
System.Boolean | foldEverything | Toggle to put all properties to the specified group |
Fields
foldEverything
Whether to encapsulate the property this attribute is on or cascade down on all other properties.
Declaration
public bool foldEverything
Field Value
Type | Description |
---|---|
System.Boolean |
name
The name of the group.
Declaration
public string name
Field Value
Type | Description |
---|---|
System.String |