Done with Audio Implementation via C# #347
|
@ -13,7 +13,7 @@ public class ScoringZone : Script
|
|||
{
|
||||
if (GameManager.Instance && info.GameObject.GetScript<Item>())
|
||||
{
|
||||
Audio.PlaySFXOnce2D("event:/Music/stingers/item_scored");
|
||||
AudioHandler.audioClipHandlers["SFXItemScore"].Play();
|
||||
GameManager.Instance.ItemScored();
|
||||
GameManager.Instance.Score += info.GameObject.GetScript<Item>().Score * GameManager.Instance.currMultiplierCombo;
|
||||
info.GameObject.SetActive(false);
|
||||
|
|
Loading…
Reference in New Issue