Do() public method

public Do ( ) : void
return void
Ejemplo n.º 1
0
        public GameObject GenNode()
        {
            resmgr = new ResMgr(this);
            string treefile = null;

            foreach (var b in bufs.Keys)
            {
                if (b.Contains(".jsontree.txt"))
                {
                    treefile = System.Text.Encoding.UTF8.GetString(this.bufs[b]);
                    break;
                }
            }
            MyJson.JsonNode_Object _json = MyJson.Parse(treefile) as MyJson.JsonNode_Object;

            _obj = new GameObject();
            DelayProcess dp = new DelayProcess();

            Json2Obj(_json, _obj, dp);
            dp.Do();
            return(_obj);
        }
Ejemplo n.º 2
0
        public GameObject GenNode()
        {
            resmgr = new ResMgr(this);
            string treefile = null;
            foreach (var b in bufs.Keys)
            {
                if (b.Contains(".jsontree.txt"))
                {
                    treefile = System.Text.Encoding.UTF8.GetString(this.bufs[b]);
                    break;
                }
            }
            MyJson.JsonNode_Object _json = MyJson.Parse(treefile) as MyJson.JsonNode_Object;

            _obj = new GameObject();
            DelayProcess dp = new DelayProcess();
            Json2Obj(_json, _obj, dp);
            dp.Do();
            return _obj;

        }