Example #1
0
 /// <summary>
 /// UIの非表示
 /// </summary>
 public void HideUI()
 {
     if (activeUIComponent == null)
     {
         return;
     }
     activeUIComponent.Hide();
     activeUIComponent = null;
 }
Example #2
0
        /// <summary>
        /// UIの表示
        /// </summary>
        public void ShowUI(string name)
        {
            //表示されているものを非表示
            HideUI();

            //表示
            activeUIComponent = GetUIComponent(name);
            if (activeUIComponent)
            {
                activeUIComponent.Show();
            }
        }