Пример #1
0
    private void Start()
    {
        ListData la = new ListData();
        ListData lb = new ListData();

        SaveLoadManager.LoadTemporary(ref la, ref lb, "bla");
        la.Fill(lb.elems);
        la.Extract(bla);

        //string[] param = BaseCode.Decode(Load.LoadData<string>(ref Symbols)).Split('|');
        //Vector3 b=new Vector3();
        //LoadManager.Load(ref b, "lm");
        //Debug.Log(b);

        //Symbols = param[0];

        //if (param.Length > 1 && param[1] != "") //List
        //{
        //    string[] ListElems = param[2].Split(',');
        //    for (int i = 0; i < ListElems.Length; i++)
        //    {
        //        string[] values = ListElems[i].Split(',');
        //        list.Add(new Vector3());
        //    }
        //}

        //if (param.Length > 2&param[2]!="") //Dictionary
        //{
        //    string[] dictionaryElems = param[2].Split(';');
        //    for (int i = 0; i < dictionaryElems.Length; i++)
        //    {
        //        string[] values = dictionaryElems[i].Split(',');
        //        dictionary.Add(values[0], int.Parse(values[1]));

        //    }
        //}
    }