浏览代码

Fix Push

/main
uChema 3 年前
当前提交
84ae59c8
共有 1 个文件被更改,包括 1 次插入9 次删除
  1. 10
      UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs

10
UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs


[SerializeField] private SaveSystem _saveSystem = default;
private bool isColdStart = false;
[SerializeField] private SaveSystem _saveSystem = default;
private void Awake()
{
if (!SceneManager.GetSceneByName(_persistentManagersSO.sceneReference.editorAsset.name).isLoaded)

}
}
private void CreateSaveFileIfNotPresent()
{
if (_saveSystem != null && !_saveSystem.LoadSaveDataFromDisk())
{
_saveSystem.WriteEmptySaveFile();
}
}
#endif
}
正在加载...
取消
保存