private static IEnumerator Future(Runnable p, float v) { yield return(new WaitForSecondsRealtime(v)); p?.Invoke(); }
private static IEnumerator WaitFramesAndDo(int frames, Runnable f) { yield return(Frames(frames)); f?.Invoke(); }
private static IEnumerator Future(Runnable p, float v) { yield return(new WaitForSecondsRealtime(v)); p?.Invoke(); }
private static IEnumerator WaitFramesAndDo(int frames, Runnable f) { yield return(Frames(frames)); f?.Invoke(); }