public void NewGame() { SliderHandler.OpenScene(characterSprites, (i) => { if (i != -1) { SaveHandler.CreateNewSave(i); MapGenerator.saveid = i; Sprite[] ff = new Sprite[1]; ff[0] = FunfactSprites[Random.Range(0, FunfactSprites.Length)]; DialogHandler.OpenDialogScene(ff, () => UnityEngine.SceneManagement.SceneManager.LoadScene("GameScene"), 0); } else { UnityEngine.SceneManagement.SceneManager.LoadScene("Menu"); } }); }