@@ -61,7 +61,7 @@ public override void OnInspectorGUI()
61
61
EditorGUILayout . EndHorizontal ( ) ;
62
62
EditorGUILayout . PropertyField ( _fileName_string ) ;
63
63
EditorGUILayout . PropertyField ( _path_enum ) ;
64
- if ( _path_enum . enumValueIndex == 2 )
64
+ if ( _path_enum . enumValueIndex == 2 )
65
65
{
66
66
EditorGUILayout . BeginHorizontal ( ) ;
67
67
EditorGUILayout . PropertyField ( _customPath_string ) ;
@@ -75,13 +75,13 @@ public override void OnInspectorGUI()
75
75
EditorGUILayout . PropertyField ( _collectSaveablesEverySave_bool ) ;
76
76
EditorGUILayout . BeginHorizontal ( ) ;
77
77
EditorGUILayout . PropertyField ( _useEncryption_bool ) ;
78
- if ( _useEncryption_bool . boolValue )
78
+ if ( _useEncryption_bool . boolValue )
79
79
EditorGUILayout . PropertyField ( _encryptionPassword_string , new GUIContent ( string . Empty ) ) ;
80
80
EditorGUILayout . EndHorizontal ( ) ;
81
81
82
82
EditorGUILayout . BeginHorizontal ( ) ;
83
83
EditorGUILayout . PropertyField ( _autoSaving_bool ) ;
84
- if ( _autoSaving_bool . boolValue )
84
+ if ( _autoSaving_bool . boolValue )
85
85
EditorGUILayout . PropertyField ( _savePerion_int , new GUIContent ( "Period (seconds)" ) ) ;
86
86
EditorGUILayout . EndHorizontal ( ) ;
87
87
@@ -94,11 +94,11 @@ public override void OnInspectorGUI()
94
94
serializedObject . ApplyModifiedProperties ( ) ;
95
95
96
96
// File preview
97
-
97
+
98
98
EditorGUILayout . Space ( 10f ) ;
99
99
EditorGUILayout . BeginHorizontal ( ) ;
100
100
EditorGUILayout . LabelField ( "File Preview" , EditorStyles . boldLabel ) ;
101
- if ( _file != null && GUILayout . Button ( "Save Changes" ) )
101
+ if ( _file != null && GUILayout . Button ( "Save Changes" ) )
102
102
{
103
103
_file . Save ( _sceneSave . GetPath ( ) , _sceneSave . GetPassword ( ) ) ;
104
104
}
@@ -109,7 +109,7 @@ public override void OnInspectorGUI()
109
109
}
110
110
EditorGUILayout . EndHorizontal ( ) ;
111
111
112
- if ( _file != null )
112
+ if ( _file != null )
113
113
{
114
114
EditorGUILayout . Space ( 10f ) ;
115
115
_scrollPosition = EditorGUILayout . BeginScrollView ( _scrollPosition ) ;
@@ -123,7 +123,7 @@ public override void OnInspectorGUI()
123
123
124
124
EditorGUILayout . EndScrollView ( ) ;
125
125
}
126
-
126
+
127
127
}
128
128
129
129
private void DrawFileValue ( KeyValuePair < string , object > item )
@@ -181,4 +181,4 @@ public enum Type
181
181
ObjectReference = 1 ,
182
182
}
183
183
}
184
- }
184
+ }
0 commit comments