Esempio n. 1
0
 void OnDestroy()
 {
     m_GameNet.Destroy();
     if (null != m_Reciver)
     {
         m_Reciver.Destroy();
     }
     if (null != m_Sender)
     {
         m_Sender.Destroy();
     }
 }
Esempio n. 2
0
 void OnDestroy()
 {
     m_Destroy = true;
     m_GameNet.Destroy();
     m_Reciver.Destroy();
     m_Sender.Destroy();
 }