Example #1
0
 void Caught()
 {
     hahmo.GetComponent <UccoMovement>().Stop();
     hahmo.GetComponent <UccoMovement>().isCaught = true;
     audioManager.PlaySound(AudioManagerScript.SoundClip.PIRUETTI);
     isProgressing = false;
     isDecaying    = false;
     isCaught      = true;
     animatorScript.IsCatched();
     leaveMiniGameButton.enabled = true;
     MapManager.win = true;
 }