private void Start() { var jsonText = Resources.Load <TextAsset>(PathConstants.EmptySavePath).text; if (File.Exists(PathConstants.SavePath)) { jsonText = File.ReadAllText(PathConstants.SavePath); } var startData = JsonConvert.DeserializeObject <FactoryLoadObject>(jsonText); _settingsController.LoadSettingsData(startData.settingsInfo); _musicController.LoadData(startData.settingsInfo.musicVolume); _audioController.LoadData(startData.settingsInfo.audioVolume); _localisationController.LoadLocalisationData(); _headerSectionFactory.Create(); _moneyController.LoadData(startData.moneyInfo); _levelController.LoadData(startData.levelInfo); _rawUiFactory.Create(); _rawController.LoadRawData(startData.storesInfo.raw); _productsController.LoadItemsInfo(startData.storesInfo.products); _unitsController.LoadUnitsInfo(startData.unitsInfo); _productionSectionFactory.Create(); _productionController.LoadStoreData(startData.productionInfo, GetComponent <MonoBehaviour>()); _orderController.LoadOrCreateOrders(startData.ordersInfo); _timerController.SetRawTimers(); _saveController.InitSave(); }