public static playShotSound ( Gem, gem ) : void | ||
gem | Gem, | |
Результат | void |
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(); } }