@@ -43,6 +43,7 @@ internal interface IToolboxInspectorSettings
4343 void SetAllPossibleTargetTypeDrawers ( ) ;
4444
4545 bool UseToolboxDrawers { get ; }
46+ bool ForceDefaultLists { get ; }
4647
4748 List < SerializedType > DecoratorDrawerHandlers { get ; }
4849 List < SerializedType > ConditionDrawerHandlers { get ; }
@@ -83,6 +84,8 @@ internal class ToolboxEditorSettings : ScriptableObject, IToolboxGeneralSettings
8384
8485 [ SerializeField ]
8586 private bool useToolboxDrawers = true ;
87+ [ SerializeField , Tooltip ( "Inspectors will use the default ReorderableList instead of a simple hierarchy." ) ]
88+ private bool forceDefaultLists ;
8689
8790 [ SerializeField , ReorderableList ( ListStyle . Boxed ) , ClassExtends ( typeof ( ToolboxDecoratorDrawer < > ) ) ]
8891 private List < SerializedType > decoratorDrawerHandlers = new List < SerializedType > ( ) ;
@@ -327,6 +330,12 @@ public bool UseToolboxDrawers
327330 set => useToolboxDrawers = value ;
328331 }
329332
333+ public bool ForceDefaultLists
334+ {
335+ get => forceDefaultLists ;
336+ set => forceDefaultLists = value ;
337+ }
338+
330339 public List < SerializedType > DecoratorDrawerHandlers
331340 {
332341 get => decoratorDrawerHandlers ;
@@ -357,7 +366,6 @@ public List<SerializedType> TargetTypeDrawerHandlers
357366 set => targetTypeDrawerHandlers = value ;
358367 }
359368
360-
361369 private static class Defaults
362370 {
363371 internal const float largeFolderIconScaleDefault = 0.8f ;
0 commit comments