Skip to content

Issue with Unity #5

@kiamiya

Description

@kiamiya

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions