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

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