diff --git a/Assets/Script/Window/MenuWnd.cs b/Assets/Script/Window/MenuWnd.cs index b986e2e..3beb593 100644 --- a/Assets/Script/Window/MenuWnd.cs +++ b/Assets/Script/Window/MenuWnd.cs @@ -79,6 +79,21 @@ public class MenuWnd : MonoBehaviour if (replyTxt.text != "") { + if (Input.GetKey(KeyCode.LeftShift) && Input.GetKey(KeyCode.Y)) + { + accidentProcesBtn.interactable = true; + CheckReplyTip.SetActive(false); + ReplyTrueTip.SetActive(true); + GameRoot.Instance.pt.AddTimeTask((int te) => { ReplyTrueTip.SetActive(false); }, 2, PETimeUnit.Second); + ReplyCheck = false; + } + else if (Input.GetKey(KeyCode.LeftShift) && Input.GetKey(KeyCode.N)) + { + accidentProcesBtn.interactable = false; + ReplyFalseTip.SetActive(true); + ReplyCheck = false; + } + if (replyTxt.text == "Y" || replyTxt.text == "Y\n") {