示例#1
0
 public void OnBlackClicked()
 {
     MaskController.Open(MaskType.FOREGROUND, Color.black, strOnCompleteFunc: "onOpened", objOnCompleteTarget: gameObject);
     Invoke("closeForegroundMask", 0.5f);
 }
示例#2
0
 public void OnRedClicked()
 {
     MaskController.Open(MaskType.BACKGROUND, Color.red, strOnCompleteFunc: "onOpened", objOnCompleteTarget: gameObject);
     Invoke("closeBackgroundMask", 0.5f);
 }