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

Issue with Unity #5

Open
kiamiya opened this issue Jul 4, 2022 · 0 comments
Open

Issue with Unity #5

kiamiya opened this issue Jul 4, 2022 · 0 comments

Comments

@kiamiya
Copy link

kiamiya commented Jul 4, 2022

Hi,
I got an issue using Ever.y in Unity, I'd like to force the player to go to a specific scene every 25 min.
I have tried both :

Ever.y(25).Minutes.Do(()=>SceneManager.LoadScene(4)); // do nothing

Ever.y(25).Minutes.Do(()=>LoadFinal()); // call LoadFinal

private void LoadFinal()
{
Debug.LogWarning("go to final"); // this one will show up
SceneManager.LoadScene(4); // do nothing
Debug.LogError("go to final 2"); // this one does nothing
}

What did I miss?

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