//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // * New Callback Method: On "CONSECUTIVELY_STATIC_PRIORITY" Play Triggered //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ private void OnConsecutivelyStaticPriorityPlayTriggered() { if (sm_iUsedAudioID == -1 || !AudioSourceManager.IsPlayingAudio(sm_iUsedAudioID)) { sm_iUsedAudioID = AudioSourceManager.PlayAudioClip(m_acClipToPlay); LowerSceneBGM(); } else if (AudioSourceManager.GetSelectedAudioClip(sm_iUsedAudioID) != m_acClipToPlay) { AudioSourceManager.StopAudio(sm_iUsedAudioID); sm_iUsedAudioID = AudioSourceManager.PlayAudioClip(m_acClipToPlay); LowerSceneBGM(); } }