Ejemplo n.º 1
0
 public static void CloseUIForm(this UIComponent uiComponent, FairyGuiForm uiForm)
 {
     if (uiForm != null)
     {
         uiComponent.CloseUIForm(uiForm.UIForm);
     }
 }
Ejemplo n.º 2
0
        public static void CloseUIForm(this UIComponent uiComponent, UIFormId uiFormId)
        {
            FairyGuiForm form = uiComponent.GetUIForm(uiFormId);

            uiComponent.CloseUIForm(form);
        }