Optimize arrow finding code & add commas to scores

This commit is contained in:
2025-06-05 21:31:48 -07:00
parent ccc6a5431c
commit a69f4cc73d
10 changed files with 54 additions and 33 deletions

View File

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