示例#1
0
        //Calls the passed void function with no arguments after delay
        public static IEnumerator CallWithDelay(QTimerCallfuncInt del, int num, float delay)
        {
            yield return(new WaitForSeconds(delay));

            del(num);
        }
示例#2
0
		//Calls the passed void function with no arguments after delay
		public static IEnumerator CallWithDelay(QTimerCallfuncInt del, int num, float delay)
		{
			yield return new WaitForSeconds(delay);
			del(num);
		}