Ejemplo n.º 1
0
 public override void Enter()
 {
     AudioService.PlayMusic(AudioService.Music[0]);
     AudioService.GetAudioSource().loop = true;
     ResultController.Show(() => {
         ResultController.AddHomeButtonListener(OnClickedHome);
         ResultController.AddNextButtonListener(OnNextLevel);
         ResultController.AddRestartButtonListener(OnRestart);
         ResultController.AddAudioButtonListener(OnToggleAudio);
         Animate();
     });
 }