Do() 공개 메소드

public Do ( ) : void
리턴 void
예제 #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);
        }
예제 #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;

        }