yyl
2026-04-24 97de31e9a015cf139f5293a22e1575a43dfb6733
Main/Utility/UniTaskExtension.cs
@@ -6,12 +6,12 @@
{
    public static void DelayFrame(this GameObject go, Action action)
    {
        DelayFrameInternal(1, action);
        DelayFrameInternal(1, action).Forget();
    }
    public static void DelayFrame(this Component cmp, Action action)
    {
        DelayFrameInternal(1, action);
        DelayFrameInternal(1, action).Forget();
    }
    private async static UniTask DelayFrameInternal(int frame, Action action)
@@ -22,27 +22,27 @@
    public static void DelayFrames(this Component cmp, int frames, Action action)
    {
        DelayFrameInternal(frames, action);
        DelayFrameInternal(frames, action).Forget();
    }
    public static void DelayFrames(this GameObject go, int frames, Action action)
    {
        DelayFrameInternal(frames, action);
        DelayFrameInternal(frames, action).Forget();
    }
    public static void DelayFrame(Action action)
    {
        DelayFrameInternal(1, action);
        DelayFrameInternal(1, action).Forget();
    }
    public static void DelayTime(this GameObject go, float time, Action action)
    {
        DelayTimeInternal(time, action);
        DelayTimeInternal(time, action).Forget();
    }
    public static void DelayTime(this Component cmp, float time, Action action)
    {
        DelayTimeInternal(time, action);
        DelayTimeInternal(time, action).Forget();
    }
    private async static UniTask DelayTimeInternal(float time, Action action)