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