using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Ether { public class SceneSaveManager : MonoBehaviour { ES3AutoSaveMgr mgr; private void Awake() { mgr = GetComponent(); mgr.settings.path = "TempSceneSave.es3"; mgr.Load(); } private void OnDestroy() { mgr.settings.path = "TempSceneSave.es3"; mgr.Save(); } } }