Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How DOTween.ManualUpdate works? #666

Open
mecadiego113 opened this issue Dec 12, 2023 · 0 comments
Open

How DOTween.ManualUpdate works? #666

mecadiego113 opened this issue Dec 12, 2023 · 0 comments

Comments

@mecadiego113
Copy link

Hello everyone!

I'm trying to achieve a rough (non-smooth) result with tweens executing manual updates. What I'm doing is using coroutines for that:

private IEnumerator UpdateTweens()
{
    yield return new WaitForSeconds((float)1 / (framesPerSecond / 2));
    DOTween.ManualUpdate((float)1 / framesPerSecond / 2, (float)1 / framesPerSecond / 2);

    StartCoroutine(UpdateTweens());
}

But I don't fully understand the two parameters of the ManualUpdate method: this result the tweens to run faster or slower, but not more rough.

Can you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant