playShotSound() 공개 정적인 메소드

public static playShotSound ( Gem, gem ) : void
gem Gem,
리턴 void
예제 #1
0
 protected virtual void Update()
 {
     // Cast ability when K is pressed then there is enough mana/energy
     if (Input.GetKeyDown(KeyCode.K) && playerControl.cooldown >= cost && isCurrent)
     {
         // Update achievement log, play sound and execute associated gem ability
         AchievementManager.Instance.usedGem();
         PlayerSfxScript.playShotSound(GemManager.Instance.GetCurrentGem());
         doEffect();
         castAnimation();
     }
 }