public static void DestroyAudioSource(AudioSource audioSource)
 {
     if (audioSource != null)
     {
         GlobalUnityEngineAPI.Destroy(audioSource.gameObject);
     }
 }
Exemple #2
0
 private void DestroyListener()
 {
     if (this.m_AudioListener != null)
     {
         GlobalUnityEngineAPI.Destroy(m_AudioListener.gameObject);
         this.m_AudioListener = null;
     }
 }
Exemple #3
0
 private void DestroyAudioRoot()
 {
     if (this.m_AudioRoot != null)
     {
         GlobalUnityEngineAPI.Destroy(this.m_AudioRoot);
     }
     this.m_AudioRoot = null;
 }
Exemple #4
0
 public override void Destroy()
 {
     m_AudioDic = null;
     GlobalUnityEngineAPI.Destroy(base.s_AudioRoot);
 }
 public override void Destroy()
 {
     m_AudioQueue = null;
     m_IsStop     = false;
     GlobalUnityEngineAPI.Destroy(base.s_AudioRoot);
 }