Exemple #1
0
    public void SetActive(bool _active, bool _displayAd)
    {
        optionsPanel.SetActive(_active);

        PauseGame(_active);

        continueButton.DisplayAd = _displayAd;

        if (_displayAd)
        {
            StartCoroutine(PlayerHit.SetInvinsible());
        }
    }