You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/Editor Toolbox/Scripts/Attributes/ToolboxAttributes/ArchetypeAttributes/ScriptablesListAttribute.cs
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,24 @@ public override ToolboxAttribute[] Process()
14
14
newInLineEditorAttribute(),
15
15
newReorderableListAttribute()
16
16
{
17
-
HasLabels=false
17
+
Foldable=Foldable,
18
+
HasLabels=HasLabels,
19
+
HasHeader=HasHeader
18
20
}
19
21
};
20
22
}
23
+
24
+
/// <summary>
25
+
/// Indicates whether list should be allowed to fold in and out.
26
+
/// </summary>
27
+
publicboolFoldable{get;set;}=true;
28
+
/// <summary>
29
+
/// Indicates whether list should have a label above elements.
30
+
/// </summary>
31
+
publicboolHasHeader{get;set;}=true;
32
+
/// <summary>
33
+
/// Indicates whether each element should have an additional label.
0 commit comments