コード例 #1
0
 private void OnPotionCorrect(PotionCorrectEvent evt)
 {
     CreateNewRecipe();
 }
コード例 #2
0
 private void PlayCorrectPotionSound(PotionCorrectEvent evt)
 {
     _audioSource.clip = _correctPotionSounds.SelectRandom();
     _audioSource.Play();
 }
コード例 #3
0
 private void OnPotionCorrect(PotionCorrectEvent evt)
 {
     UpdateScore(_scoreSettings.SuccessPoints);
 }