Example #1
0
        public static InvokeAfterFrame Call(string name, int delayFrame, Action callback)
        {
            InvokeAfterFrame asyncOps = new InvokeAfterFrame(name, delayFrame, callback);

            asyncOps.Execute();
            return(asyncOps);
        }
Example #2
0
        public static InvokeAfterFrame Call(Action callback, int delayFrame)
        {
            InvokeAfterFrame asyncOps = new InvokeAfterFrame(callback, delayFrame);

            asyncOps.Execute();
            return(asyncOps);
        }