nodeParser.DelayProcess.Do C# (CSharp) Method

Do() public method

public Do ( ) : void
return void
        public void Do()
        {
            if (delayCall != null)
            {
                delayCall();
            }
        }
        public event Action delayCall;

Usage Example

Esempio 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);
        }
All Usage Examples Of nodeParser.DelayProcess::Do
DelayProcess