@@ -45,6 +45,16 @@ public override void OnInspectorGUI() {
45
45
exportSettings . centerObjects
46
46
) ;
47
47
48
+ EditorGUILayout . Space ( ) ;
49
+
50
+ 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
+ exportSettings . ExportFormatSelection = EditorGUILayout . Popup ( exportSettings . ExportFormatSelection , new string [ ] { "Binary" , "ASCII" } ) ;
54
+ GUILayout . EndHorizontal ( ) ;
55
+
56
+ EditorGUILayout . Space ( ) ;
57
+
48
58
GUILayout . BeginHorizontal ( ) ;
49
59
GUILayout . Label ( new GUIContent (
50
60
"Export Path:" ,
@@ -146,7 +156,9 @@ public override void OnInspectorGUI() {
146
156
}
147
157
GUILayout . EndHorizontal ( ) ;
148
158
149
- var installIntegrationContent = new GUIContent (
159
+ EditorGUILayout . Space ( ) ;
160
+
161
+ var installIntegrationContent = new GUIContent (
150
162
"Install Unity Integration" ,
151
163
"Install and configure the Unity integration for the selected 3D application so that you can import and export directly with this project." ) ;
152
164
if ( GUILayout . Button ( installIntegrationContent ) ) {
@@ -246,6 +258,7 @@ public static string kDefaultAdskRoot {
246
258
public bool mayaCompatibleNames ;
247
259
public bool centerObjects ;
248
260
public bool launchAfterInstallation ;
261
+ public int ExportFormatSelection ;
249
262
250
263
public int selectedDCCApp = 0 ;
251
264
@@ -274,6 +287,7 @@ protected override void LoadDefaults()
274
287
mayaCompatibleNames = true ;
275
288
centerObjects = true ;
276
289
launchAfterInstallation = true ;
290
+ ExportFormatSelection = 0 ;
277
291
convertToModelSavePath = kDefaultSavePath ;
278
292
dccOptionPaths = null ;
279
293
dccOptionNames = null ;
0 commit comments