コード例 #1
0
 private void SetEvent(GameObject chapterButton, GameChooseController gameChooseController)
 {
     chapterButton.GetComponent <Button>().onClick.AddListener(() =>
     {
         GameObject.Find("AudioSourceClick").GetComponent <AudioSource>().Play();
         gameChooseController.SetGames();
         scrollMenu.slideInLevels();
     });
 }