예제 #1
0
        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);
            }
        }
예제 #2
0
        public void doHideMask()
        {
//			if (isNeedMask4Init) {
            CLPanelMask4Panel.hide(null);
//			}
        }
예제 #3
0
 public CLPanelMask4Panel()
 {
     self = this;
 }