示例#1
0
        void InternalOpenUI(UIFormData formData, object formArg = null)
        {
            UIGroup group = GetGroup(formData.groupName);
            Form    form  = group.GetForm(formData.uiName);

            if (form == null)
            {
                form = LoadForm(formData.uiName);
                group.AddForm(form);
            }

            if (form == null)
            {
                return;
            }
            form.Init(formData, formArg);
            group.Refresh();
            form.Open();
        }