11using System ;
22using System . Collections . Generic ;
3-
43using UnityEngine ;
54using UnityEngine . Serialization ;
65
@@ -62,9 +61,9 @@ internal interface IToolboxSceneViewSettings
6261 [ CreateAssetMenu ( fileName = "Editor Toolbox Settings" , menuName = "Editor Toolbox/Settings" ) ]
6362 internal class ToolboxEditorSettings : ScriptableObject , IToolboxGeneralSettings , IToolboxHierarchySettings , IToolboxProjectSettings , IToolboxInspectorSettings , IToolboxSceneViewSettings
6463 {
65- [ SerializeField ]
64+ [ SerializeField , Tooltip ( "Set to false if you don't want to use Toolbox Hierarchy and related features." ) ]
6665 private bool useToolboxHierarchy = true ;
67- [ SerializeField ]
66+ [ SerializeField , Tooltip ( "Set to true if you want to display horizontal lines in the Hierarchy Window." ) ]
6867 private bool drawHorizontalLines = true ;
6968 [ SerializeField ]
7069 private bool showSelectionsCount ;
@@ -73,7 +72,7 @@ internal class ToolboxEditorSettings : ScriptableObject, IToolboxGeneralSettings
7372 [ FormerlySerializedAs ( "rowDataItems" ) ]
7473 private List < HierarchyItemDataType > rowDataTypes = Defaults . rowDataTypes ;
7574
76- [ SerializeField ]
75+ [ SerializeField , Tooltip ( "Set to false if you don't want to use Toolbox Folders and related features." ) ]
7776 private bool useToolboxFolders = true ;
7877
7978 [ SerializeField , Clamp ( 0.0f , float . MaxValue ) ]
@@ -95,7 +94,7 @@ internal class ToolboxEditorSettings : ScriptableObject, IToolboxGeneralSettings
9594 [ SerializeField ]
9695 private KeyCode selectorKey = KeyCode . Tab ;
9796
98- [ SerializeField , Tooltip ( "Set to false if you don't want to use Toolbox attributes and related features." ) ]
97+ [ SerializeField , Tooltip ( "Set to false if you don't want to use Toolbox Attributes and related features." ) ]
9998 private bool useToolboxDrawers = true ;
10099 [ SerializeField , Tooltip ( "By default, Inspectors will use the built-in version of the list instead of the Toolbox-based one. " +
101100 "Keep in mind that built-in properties don't support Toolbox attributes. \n \n Changing this property will recompile the code." ) ]
@@ -471,7 +470,7 @@ private static class Defaults
471470 internal const float smallFolderIconXPaddingDefault = 0.15f ;
472471 internal const float smallFolderIconYPaddingDefault = 0.15f ;
473472
474- internal readonly static List < HierarchyItemDataType > rowDataTypes = new List < HierarchyItemDataType > ( )
473+ internal static readonly List < HierarchyItemDataType > rowDataTypes = new List < HierarchyItemDataType > ( )
475474 {
476475 HierarchyItemDataType . Icon ,
477476 HierarchyItemDataType . Toggle ,
0 commit comments