Esempio n. 1
0
    public void ShowInfoPopup()
    {
        if (m_currentState != eTabletViewState.kDefault || m_cityTabletGroup == null || m_infoPopup == null)
        {
            return;
        }

        if (m_guessPopup != null)
        {
            m_guessPopup.gameObject.SetActive(false);
        }
        if (m_defaultGUI != null)
        {
            m_defaultGUI.gameObject.SetActive(false);
        }

        m_infoPopup.Show();
        m_infoPopup.Setup(m_cityTabletGroup.GetCurrentTabletFace());
        m_currentState = eTabletViewState.kInfoPopup;
    }