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
18
18
[ SerializeField ] private SaveSystem _saveSystem = default ;
19
19
20
20
private bool isColdStart = false ;
21
-
22
- [ SerializeField ] private SaveSystem _saveSystem = default ;
23
21
private void Awake ( )
24
22
{
25
23
if ( ! SceneManager . GetSceneByName ( _persistentManagersSO . sceneReference . editorAsset . name ) . isLoaded )
@@ -67,12 +65,6 @@ private void OnNotifyChannelLoaded(AsyncOperationHandle<LoadEventChannelSO> obj)
67
65
}
68
66
}
69
67
70
- private void CreateSaveFileIfNotPresent ( )
71
- {
72
- if ( _saveSystem != null && ! _saveSystem . LoadSaveDataFromDisk ( ) )
73
- {
74
- _saveSystem . WriteEmptySaveFile ( ) ;
75
- }
76
- }
68
+
77
69
#endif
78
70
}
You can’t perform that action at this time.
0 commit comments