private void LoadRaw(string save) { RawData.current = (RawData)SaveDictionary.Load(save, SaveDictionary.RawPreffix); if (RawData.current == null) { return; } LoadGameManager(RawData.current.ManagerData); }
private void LoadScene(string save) { SceneData.current = (SceneData)SaveDictionary.Load(save, SceneManager.GetActiveScene().name); if (SceneData.current == null) { return; } LoadPlayerData(SceneData.current.PlayerData); LoadMovableObjects(SceneData.current.MovableData); LoadActivationDevice(SceneData.current.InteractablesData); }