private void win() { Debug.Log(Name + ": YOU WIN!" + "Elapsed: " + numTicksElapsed); if (WinSound != null) { WinSound.Play(); } ShowWinAnimation(true); ShowWetGround(true); CenterObjectWin(); //winBox.SetActive (true); //winBox.GetComponent<Renderer>().enabled = true; state = SpellState.Win; endSpell(); }
public void PlayWinSoundAudio() { WinSound.Play(); }