Add more buttons to account manager + async scene management

This commit is contained in:
2025-06-01 14:29:38 -07:00
parent 10edf9660d
commit f7f2552ae8
5 changed files with 798 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ public class ButtonToScene : MonoBehaviour
void Awake()
{
gameObject.GetComponent<Button>().onClick.AddListener(() => {
SceneManager.LoadScene(sceneName);
SceneManager.LoadSceneAsync(sceneName);
});
}
}