Close() public method

public Close ( ) : void
return void
 void OnDestroy()
 {
     if (m_playerNameManager != null)
     {
         m_playerNameManager.Close();
         m_playerNameManager = null;
     }
 }
 void Cleanup()
 {
     m_netPlayer.OnDisconnect -= HandleDisconnect;
     if (m_playerNameManager != null)
     {
         m_playerNameManager.Close();
         m_playerNameManager = null;
     }
 }