private void ChangeSounds(string pGlobName, bool pBoolInterrupt = true) { if (_chladniTalkBoard.IsPlaying()) { if (pBoolInterrupt) { _chladniTalkBoard.Stop(); } } else { for (int i = 0; i < videos.Length; i++) { videos[i].PlayChladniVideo(Array.IndexOf(_tutorialSounds, pGlobName)); } _chladniTalkBoard.ChangeEvent(pGlobName); _chladniTalkBoard.Play(); _soundShouldChange = false; if (pGlobName == _tutorialSounds[4]) { _fsliderSoundHasPlayed = true; } if (pGlobName == _tutorialSounds[3]) { _sandMoveSoundHasPlayed = true; } if (pGlobName == _tutorialSounds[5]) { _sliderMoveSoundHasPlayed = true; } if (pGlobName == _tutorialSounds[7]) { Debug.Log("Yes hello"); _goodbyeHasPlayed = true; } } }