private void LoadBaseDataFromSever(string pData) { mBaseData = new BaseConfigData(); string tConfigStr = pData; mBaseData.Init(tConfigStr); }
private void LoadBaseDataFromLocal() { mBaseData = new BaseConfigData(); TextAsset tAsset = Resourcer.Get <TextAsset> (ResConfig.TEXT_ID, "BaseConfigData"); if (tAsset != null) { string tConfigStr = tAsset.text; mBaseData.Init(tConfigStr); } }