private void StopEvent(int transition = 0) { if (!eventIsPlaying) { return; } akEvent.Stop(eventObject, transition); #if UNITY_EDITOR if (!UnityEditor.EditorApplication.isPlaying) { eventIsPlaying = false; } #endif }
//public void PlayPlayerTurnTheme() //{ // //PlayerTheme.Post(gameObject); //} //public void PlayRingmasterTurnTheme() //{ // RingmasterState.SetValue(); //} public void StopMusic() { MainTheme.Stop(gameObject); }
public void Stop(int _transitionDuration, AkCurveInterpolation _curveInterpolation) { data.Stop(soundEmitterObject, _transitionDuration, _curveInterpolation); }
public void StopMonsterSFX(GameObject go, AK.Wwise.Event sfx) { sfx.Stop(go); }
public void Stop() { Event.Stop(ReferenceGameObject); }
public void Stop() { akEvent.Stop(gameObject); }