public void DetectCancel() { if (Input.GetKeyDown(KeyCode.Escape)) { PressedCancel?.Invoke(); } }
void CancelInput() { // TODO probably change this from escape if (Input.GetKeyDown(KeyCode.Escape)) { PressedCancel?.Invoke(); } }