Esempio n. 1
0
        private void HideUI(string behaviourName)
        {
            UIBehaviour behaviour = null;

            if (m_AllUI.TryGetValue(behaviourName, out behaviour))
            {
                behaviour.Hide();
            }
        }
Esempio n. 2
0
        private void CloseUI(string behaviourName)
        {
            UIBehaviour behaviour = null;

            if (m_AllUI.TryGetValue(behaviourName, out behaviour))
            {
                behaviour.Close();
                m_AllUI.Remove(behaviourName);
            }
        }
Esempio n. 3
0
        public void CloseUI(string behaviourName)
        {
            UIBehaviour behaviour = null;

            m_AllUI.TryGetValue(behaviourName, out behaviour);
            if (behaviour != null)
            {
                behaviour.Close();
                m_AllUI.Remove(behaviourName);
            }
        }