//得到实例 public static UIMaskMgr GetInstance() { if (_Instance == null) { _Instance = new GameObject("_UIMaskMgr").AddComponent <UIMaskMgr>(); } return(_Instance); }
void PopUpHide() { //取消遮罩 UIMaskMgr.GetInstance().CancelMaskWindow(); }
void PopUpReDisplay() { //设置弹窗遮罩 UIMaskMgr.GetInstance().SetMaskWindow(this.gameObject, CurrentUIType.UIFormLucencyType); }