public static void SetCurrentTime(float time)
    {
        AnimationWindowReflect animationWindowReflect = GetAnimationWindowReflect();

        if (!animationWindowReflect.firstAnimationWindow)
        {
            return;
        }

        animationWindowReflect.currentTime = time;
        animationWindowReflect.StartRecording();
        animationWindowReflect.StopPlayback();
        animationWindowReflect.ResampleAnimation();
        animationWindowReflect.firstAnimationWindow.Repaint();
    }
    public static void SetCurrentTime(float time)
    {
        AnimationWindowReflect animationWindowReflect = GetAnimationWindowReflect();

        if (!animationWindowReflect.firstAnimationWindow)
        {
            return;
        }

        animationWindowReflect.currentTime = time;
        animationWindowReflect.recording   = true;
        animationWindowReflect.playing     = false;
        animationWindowReflect.ResampleAnimation();
        animationWindowReflect.firstAnimationWindow.Repaint();
    }