//Movie movie = JsonConvert.DeserializeObject<Movie>(json, new MovieConverter());

        static public void readClientData()
        {
            StreamReader sr = new StreamReader(Application.dataPath + "/ClientData/ClientData.txt");

            json = sr.ReadToEnd();

            ClientLargeData largeData = JsonConversionExtensions.ConvertJson <ClientLargeData>(json);

            MasterDataManager.UpdataMasterdata(largeData);
        }
Example #2
0
    public static void UpdataMasterdata(ClientLargeData clientData)
    {
        soulLargeData = clientData.soul;

        skillLargeData = clientData.skill;

        ruleLargeData = clientData.rule;

        statusLargeData = clientData.nerfStatus;
    }