public void GetInstance(string key, bool shared, Action <PopupBase> callback) { var data = new PopupLoadData(key, shared, callback); InputBlocker.Show(this); loadList.Enqueue(data); }
internal void OpenRequest() { this.closed = false; if (!initialized) { OnInit(); initialized = true; } InputBlocker.Show(this); GetContents(() => { if (!closed) { window.Open(); } }); }
private void OnHideBegin() { baseLayer = null; InputBlocker.Show(this); try { PreClose(); } catch (Exception e) { log.Error(e); } log.Debug("{0} HideBegin", name); if (window.buttonHandler != null) { window.buttonHandler.enabled = false; } InputListenerStack.inst.Pop(this); if (onHideBegin != null) { onHideBegin(); } }