private void Update() { if (Input.GetKeyUp(KeyCode.Escape) && !GameTime.IsPaused) { buttonEvents.OnSettingsInGameClick(); } }