Пример #1
0
    public void Unpause()
    {
        if (pauseMenu != null)
        {
            pauseMenu.SetActive(false);
        }
        Time.timeScale = 1.0f;
        inputManager.Unpause();
        shootingScript.OnUnpause();

        // Clear selected object
        EventSystem.current.SetSelectedGameObject(null);
        healthBar.SetActive(true);
    }