コード例 #1
0
 public static SessionManager Instance()
 {
     if (m_Instance == null)
     {
         m_Instance = new SessionManager();
     }
     return m_Instance;
 }
コード例 #2
0
 public void Dispose()
 {
     foreach (GameSession session in m_DicSession.Values)
     {
         session.Dispose();
     }
     m_DicSession.Clear();
     m_DicSession = null;
     m_Instance = null;
 }