@@ -45,11 +45,11 @@ public override void OnInspectorGUI() {
45
45
exportSettings . centerObjects
46
46
) ;
47
47
48
- exportSettings . ExportInBinary = EditorGUILayout . Toggle (
49
- new GUIContent ( "Export in Binary :" ,
50
- "If false, will export files in ASCII format.") ,
51
- exportSettings . ExportInBinary
52
- ) ;
48
+ GUILayout . BeginHorizontal ( ) ;
49
+ GUILayout . Label ( new GUIContent ( "Export Format :" , "Export the FBX file in the standard binary format." +
50
+ " Select ASCII to export the FBX file in ASCII format.") , GUILayout . Width ( LabelWidth ) ) ;
51
+ exportSettings . ExportFormatSelection = GUILayout . SelectionGrid ( exportSettings . ExportFormatSelection , new string [ ] { "Binary" , "ASCII" } , 1 , EditorStyles . radioButton ) ;
52
+ GUILayout . EndHorizontal ( ) ;
53
53
54
54
GUILayout . BeginHorizontal ( ) ;
55
55
GUILayout . Label ( new GUIContent (
@@ -252,7 +252,7 @@ public static string kDefaultAdskRoot {
252
252
public bool mayaCompatibleNames ;
253
253
public bool centerObjects ;
254
254
public bool launchAfterInstallation ;
255
- public bool ExportInBinary ;
255
+ public int ExportFormatSelection ;
256
256
257
257
public int selectedDCCApp = 0 ;
258
258
@@ -281,7 +281,7 @@ protected override void LoadDefaults()
281
281
mayaCompatibleNames = true ;
282
282
centerObjects = true ;
283
283
launchAfterInstallation = true ;
284
- ExportInBinary = true ;
284
+ ExportFormatSelection = 0 ;
285
285
convertToModelSavePath = kDefaultSavePath ;
286
286
dccOptionPaths = null ;
287
287
dccOptionNames = null ;
0 commit comments