Ejemplo n.º 1
0
    // Use this for initialization
    void Awake()
    {
        //container.SetListItemTest(10);
        //TutorialManager.Instance.SetTutorialStep (process.step);
        test.ClientDataLoader.readClientData();
        StreamReader sr = new StreamReader(Application.dataPath + teamDataPath);

        json = sr.ReadToEnd();

        MyUserLargeData userData = JsonConversionExtensions.ConvertJson <MyUserLargeData>(json);


        MyUserData.UpdataUserdata(userData);

        //Debug.Log (largeData.TeamListData.team);

        /*StreamReader sr = new StreamReader (Application.dataPath + path);
         * string js = sr.ReadToEnd ();*/
        //reciever.ResolveReq (js);
        //int[] nia = new int[5];
        //Array.Copy (ia, 1, nia, 0, 5);

        //Debug.Log ("Length : "+nia.Length);

        /*foreach (int i in nia) {
         *      Debug.Log (i);
         * }*/
    }
Ejemplo n.º 2
0
 public static void UpdataUserdata(MyUserLargeData userData)
 {
     Debug.LogWarning("Update User Data");
     TeamListData = userData.TeamData;
 }