@@ -27,6 +27,8 @@ public override void OnInspectorGUI() {
27
27
GUILayout . Label ( "Version: " + version , EditorStyles . centeredGreyMiniLabel ) ;
28
28
EditorGUILayout . Space ( ) ;
29
29
}
30
+ EditorGUILayout . LabelField ( "Export Options" , EditorStyles . boldLabel ) ;
31
+ EditorGUI . indentLevel ++ ;
30
32
GUILayout . BeginVertical ( ) ;
31
33
exportSettings . mayaCompatibleNames = EditorGUILayout . Toggle (
32
34
new GUIContent ( "Compatible Naming:" ,
@@ -48,17 +50,20 @@ public override void OnInspectorGUI() {
48
50
EditorGUILayout . Space ( ) ;
49
51
50
52
GUILayout . BeginHorizontal ( ) ;
51
- GUILayout . Label ( new GUIContent ( "Export Format:" , "Export the FBX file in the standard binary format." +
52
- " Select ASCII to export the FBX file in ASCII format." ) , GUILayout . Width ( LabelWidth - 3 ) ) ;
53
+ EditorGUILayout . LabelField ( new GUIContent ( "Export Format:" , "Export the FBX file in the standard binary format." +
54
+ " Select ASCII to export the FBX file in ASCII format." ) , GUILayout . Width ( LabelWidth - 17 ) ) ;
53
55
exportSettings . ExportFormatSelection = EditorGUILayout . Popup ( exportSettings . ExportFormatSelection , new string [ ] { "Binary" , "ASCII" } ) ;
54
56
GUILayout . EndHorizontal ( ) ;
55
57
56
58
EditorGUILayout . Space ( ) ;
59
+ EditorGUI . indentLevel -- ;
60
+ EditorGUILayout . LabelField ( "Integration" , EditorStyles . boldLabel ) ;
61
+ EditorGUI . indentLevel ++ ;
57
62
58
63
GUILayout . BeginHorizontal ( ) ;
59
- GUILayout . Label ( new GUIContent (
64
+ EditorGUILayout . LabelField ( new GUIContent (
60
65
"Export Path:" ,
61
- "Relative path for saving Model Prefabs." ) , GUILayout . Width ( LabelWidth - 3 ) ) ;
66
+ "Relative path for saving Model Prefabs." ) , GUILayout . Width ( LabelWidth - 17 ) ) ;
62
67
63
68
var pathLabel = ExportSettings . GetRelativeSavePath ( ) ;
64
69
if ( pathLabel == "." ) { pathLabel = "(Assets root)" ; }
@@ -98,9 +103,9 @@ public override void OnInspectorGUI() {
98
103
GUILayout . EndHorizontal ( ) ;
99
104
100
105
GUILayout . BeginHorizontal ( ) ;
101
- GUILayout . Label ( new GUIContent (
106
+ EditorGUILayout . LabelField ( new GUIContent (
102
107
"Integrations Path:" ,
103
- "Installation path for 3D application integrations." ) , GUILayout . Width ( LabelWidth - 3 ) ) ;
108
+ "Installation path for 3D application integrations." ) , GUILayout . Width ( LabelWidth - 17 ) ) ;
104
109
105
110
var IntegrationsPathLabel = ExportSettings . GetIntegrationSavePath ( ) ;
106
111
EditorGUILayout . SelectableLabel ( IntegrationsPathLabel ,
@@ -132,9 +137,9 @@ public override void OnInspectorGUI() {
132
137
EditorGUILayout . Space ( ) ;
133
138
134
139
GUILayout . BeginHorizontal ( ) ;
135
- GUILayout . Label ( new GUIContent (
140
+ EditorGUILayout . LabelField ( new GUIContent (
136
141
"3D Application:" ,
137
- "Select the 3D Application for which you would like to install the Unity integration." ) , GUILayout . Width ( LabelWidth - 3 ) ) ;
142
+ "Select the 3D Application for which you would like to install the Unity integration." ) , GUILayout . Width ( LabelWidth - 17 ) ) ;
138
143
139
144
// dropdown to select Maya version to use
140
145
var options = ExportSettings . GetDCCOptions ( ) ;
0 commit comments