public static SessionManager Instance() { if (m_Instance == null) { m_Instance = new SessionManager(); } return m_Instance; }
public void Dispose() { foreach (GameSession session in m_DicSession.Values) { session.Dispose(); } m_DicSession.Clear(); m_DicSession = null; m_Instance = null; }