public override void show() { isActive = true; try { if (isNeedMask4Init) { if (isNeedMask4InitOnlyOnce) { if (isFinishedMaskPanel) { _show(); } else { Callback cb = onfinishShowMask; CLPanelMask4Panel.show(cb, null); isFinishedMaskPanel = true; } } else { Callback cb = onfinishShowMask; CLPanelMask4Panel.show(cb, null); } } else { _show(); } showFrame(); } catch (System.Exception e) { Debug.LogError(e); } }
public void doHideMask() { // if (isNeedMask4Init) { CLPanelMask4Panel.hide(null); // } }
public CLPanelMask4Panel() { self = this; }