public void Close(IPanelGroup parentGroup, string panelName)
 {
     mainThreadActions.Enqueue(new Action(() => {
         UIFacade.Close(parentGroup, panelName);
     }));
 }
 public void Close(string panelName)
 {
     mainThreadActions.Enqueue(new Action(() => {
         UIFacade.Close(panelName);
     }));
 }