示例#1
0
        public void PushUIController(UIControllerID inId, bool bringToFront = false)
        {
            UIController controller = GetUIController(inId);

            if (controller != null)
            {
                controller.Show();

                if (bringToFront)
                {
                    // this will brint it to the front of the UI!
                    UIUtils.BringToFront(controller.gameObject);
                }
            }
        }