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