public void togglePauseMenu() { if (isPaused) { Time.timeScale = 1.0f; isPaused = false; gameObject.SetActive(false); if (IBFound) { inputBlocker.blockOff(); } } else { Time.timeScale = 0.0f; isPaused = true; gameObject.SetActive(true); if (IBFound) { inputBlocker.blockOn(); } } }