Beispiel #1
0
 /// <summary>
 /// Raises the destroy event.
 /// </summary>
 void OnDestroy()
 {
     if (s_cInstance == this)
     {
         s_cInstance = null;
         this.m_cBGM = null;
         this.m_lstEnableSE.Clear();
         this.m_lstEnableENV.Clear();
     }
 }
Beispiel #2
0
 /// <summary>
 /// Raises the destroy event.
 /// </summary>
 void OnDestroy()
 {
     if( s_cInstance == this )
     {
         s_cInstance = null;
         this.m_cBGM = null;
         this.m_lstEnableSE.Clear();
         this.m_lstEnableENV.Clear();
     }
 }