Exemple #1
0
    public void ResetToDefault()
    {
        if (m_guessPopup != null)
        {
            m_guessPopup.gameObject.SetActive(false);
        }
        if (m_infoPopup != null)
        {
            m_infoPopup.Peek();
        }

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

        DOTween.defaultEaseType = Ease.InOutQuad;
        Camera.main.transform.DOMove(m_defaultCameraPosition, 0.5f);
        //Camera.main.transform.position = m_defaultCameraPosition;

        m_currentState = eTabletViewState.kDefault;
    }