public static AssembleConfig LoadAssembleConfigData() { JsonReader config = new JsonReader(); AssembleConfig settting = config.LoadJsonDataConfig <AssembleConfig>(JsonConfigPath.AssembleConfigJsonPath); return(settting); }
public void InitData() { _globalSetting = GlobalSetting.LoadGlobalSettting(); _playerConfig = PlayerConfig.LoadPlayerConfigData(); _rewardData = RewardData.LoadRewardData(); _exploreConfigData = ExploreGeneralConfig.LoadExploreConfigData(); _eventConfigData = EventConfig.LoadEventConfigData(); _assembleConfig = AssembleConfig.LoadAssembleConfigData(); _assemblePartsConfigData = AssemblePartsConfigData.LoadPartsCustomConfig(); _assembleShipPartConfigData = AssembleShipPartConfigData.LoadAssembleShipPartConfigData(); _mainShipConfigData = MainShipConfig.LoadMainShipConfig(); _mainShipMapConfig = MainShipMapConfig.LoadMainShipMapConfig(); _blockConfigData = BlockConfigData.LoadBlockConfigData(); _leaderPortraitConfig = LeaderPortraitConfig.LoadData(); }