Beispiel #1
0
    public static MatchRoom GetInstance()
    {
        if (m_Instance == null)
        {
            m_Instance = GameMain.Instance.gameObject.AddComponent <MatchRoom>();
        }

        m_Instance.LoadMatchingRoomResource();

        return(m_Instance);
    }