Exemplo n.º 1
0
    private void LoadBaseDataFromSever(string pData)
    {
        mBaseData = new BaseConfigData();
        string tConfigStr = pData;

        mBaseData.Init(tConfigStr);
    }
Exemplo n.º 2
0
    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);
        }
    }