예제 #1
0
 public static IEnumerator WorkAfterFrame(vFunv fun, int frame)
 {
     while (frame-- != 0)
     {
         yield return(new WaitForEndOfFrame());
     }
     fun();
 }
예제 #2
0
    public static IEnumerator WorkAfterSeconds(vFunv fun, float time)
    {
        yield return(new WaitForSeconds(time));

        fun();
    }