File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
UOP1_Project/Assets/Scripts/SceneManagement Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ public class EditorColdStartup : MonoBehaviour
1818 [ SerializeField ] private SaveSystem _saveSystem = default ;
1919
2020 private bool isColdStart = false ;
21-
22- [ SerializeField ] private SaveSystem _saveSystem = default ;
2321 private void Awake ( )
2422 {
2523 if ( ! SceneManager . GetSceneByName ( _persistentManagersSO . sceneReference . editorAsset . name ) . isLoaded )
@@ -67,12 +65,6 @@ private void OnNotifyChannelLoaded(AsyncOperationHandle<LoadEventChannelSO> obj)
6765 }
6866 }
6967
70- private void CreateSaveFileIfNotPresent ( )
71- {
72- if ( _saveSystem != null && ! _saveSystem . LoadSaveDataFromDisk ( ) )
73- {
74- _saveSystem . WriteEmptySaveFile ( ) ;
75- }
76- }
68+
7769#endif
7870}
You can’t perform that action at this time.
0 commit comments