void LoadTestSave() { var path = Application.streamingAssetsPath + "\\Sectors\\TestWorld"; var savePath = Application.persistentDataPath + "\\Saves\\TestSave"; if (File.Exists(savePath)) { File.Delete(savePath); } SaveMenuHandler.CreateSave("TestSave"); SectorManager.testJsonPath = path; SectorManager.testResourcePath = originalReadPath; SaveMenuIcon.LoadSaveByPath(savePath, false); }
void Awake() { instance = this; }