Пример #1
0
        // Play Out-Animations of all primary buttons
        public void HideAllGUIs()
        {
            m_TopLeft_A.PlayOutAnims();
            m_BottomLeft_A.PlayOutAnims();
            m_RightBar_A.PlayOutAnims(eGUIMove.Self);

            if (m_TopLeft_IsOn == true)
            {
                m_TopLeft_B.PlayOutAnims();
            }
            if (m_BottomLeft_IsOn == true)
            {
                m_BottomLeft_B.PlayOutAnims();
            }
            if (m_RightBar_IsOn == true)
            {
                m_RightBar_B.PlayOutAnims();
            }

            // Play Out-Animations of m_Title1 and m_Title2
            StartCoroutine(HideTitleTextMeshes());
        }