File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,8 @@ public abstract class ExportOptionsEditorWindow : EditorWindow
41
41
protected float m_fbxExtLabelWidth ;
42
42
43
43
protected virtual void OnEnable ( ) {
44
- if ( Application . unityVersion . Contains ( "2018" ) ) {
45
- InitializeReceiver ( ) ;
46
- }
44
+ InitializeReceiver ( ) ;
45
+
47
46
m_showOptions = true ;
48
47
this . minSize = new Vector2 ( SelectableLabelMinWidth + LabelWidth + BrowseButtonWidth , MinWindowHeight ) ;
49
48
@@ -125,14 +124,12 @@ protected void OnGUI ()
125
124
// Increasing the label width so that none of the text gets cut off
126
125
EditorGUIUtility . labelWidth = LabelWidth ;
127
126
128
- if ( Application . unityVersion . Contains ( "2018" ) ) {
129
- GUILayout . BeginHorizontal ( ) ;
130
- GUILayout . FlexibleSpace ( ) ;
131
- if ( EditorGUILayout . DropdownButton ( presetIcon , FocusType . Keyboard , presetIconButton ) ) {
132
- ShowPresetReceiver ( ) ;
133
- }
134
- GUILayout . EndHorizontal ( ) ;
127
+ GUILayout . BeginHorizontal ( ) ;
128
+ GUILayout . FlexibleSpace ( ) ;
129
+ if ( EditorGUILayout . DropdownButton ( presetIcon , FocusType . Keyboard , presetIconButton ) ) {
130
+ ShowPresetReceiver ( ) ;
135
131
}
132
+ GUILayout . EndHorizontal ( ) ;
136
133
137
134
EditorGUILayout . LabelField ( "Naming" ) ;
138
135
EditorGUI . indentLevel ++ ;
You can’t perform that action at this time.
0 commit comments