Example #1
0
 private void PlaySE(SizeEnum size)
 {
     if (size == SizeEnum.Normal)
     {
         audio.clip = seManager.GetSE(0);
         audio.Play();
         //Debug.Log("normalSE");
     }
     else if (size <= SizeEnum.Big_XY)
     {
         audio.clip = seManager.GetSE(1);
         audio.Play();
         //Debug.Log("BigSE");
     }
     else
     {
         audio.clip = seManager.GetSE(2);
         audio.Play();
         //Debug.Log("SmallSE");
     }
 }