Open kiamiya opened 2 years ago
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(()=>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?
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?