Exemplo n.º 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();
     }
 }
Exemplo n.º 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();
     }
 }