예제 #1
0
        //得到实例
        public static UIMaskMgr GetInstance()
        {
            if (_Instance == null)
            {
                _Instance = new GameObject("_UIMaskMgr").AddComponent <UIMaskMgr>();
            }

            return(_Instance);
        }
예제 #2
0
 void PopUpHide()
 {
     //取消遮罩
     UIMaskMgr.GetInstance().CancelMaskWindow();
 }
예제 #3
0
 void PopUpReDisplay()
 {
     //设置弹窗遮罩
     UIMaskMgr.GetInstance().SetMaskWindow(this.gameObject, CurrentUIType.UIFormLucencyType);
 }