예제 #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);
		}