File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Resources/ScriptableObjects Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ private void OnGUI()
6868 if ( selectedTypes . Count == 0 || ! selectedTypes . Contains ( configGroup [ 0 ] . GetType ( ) ) )
6969 continue ;
7070
71+ GUILayout . Space ( 15 ) ;
72+
7173 GUILayout . Label ( configGroup [ 0 ] . GetType ( ) . Name , EditorStyles . boldLabel ) ; // Display the type name as a section header
7274
7375 EditorGUILayout . BeginHorizontal ( "box" ) ;
@@ -126,7 +128,7 @@ private void PutPropertiesForObject<T>(List<T> Configs) where T : ScriptableObje
126128 if ( property . propertyType != SerializedPropertyType . ArraySize && property . name != "m_Script" && property . name != "data" ) // Exclude internal Unity fields and arrays
127129 {
128130 // Show the name of each property as a label
129- EditorGUILayout . LabelField ( property . name , GUILayout . MinWidth ( PropertyMinWidth ) ) ;
131+ EditorGUILayout . LabelField ( property . name , GUIL_StandartOptions ) ;
130132 // if any property is bigger than expected this will calculate extra space needed (ex: array properties can expand)
131133 if ( property . isExpanded )
132134 GUILayout . Space ( CalculatePropertyHeight ( Configs , property ) - EditorGUIUtility . singleLineHeight ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ MonoBehaviour:
1212 m_Script : {fileID: 11500000, guid: 2cac81c9ac410e441bde07e00491a572, type: 3}
1313 m_Name : Test2Config
1414 m_EditorClassIdentifier :
15- numberArray : 00000000000000000000000000000000
15+ numberArray : 01000000020000000300000004000000
1616 gameObjectArray :
1717 - {fileID: 0}
1818 - {fileID: 0}
You can’t perform that action at this time.
0 commit comments