ShowOptions()

public void ShowOptions()
    {
        if (optionsPanel.activeSelf)
        {
            optionsPanel.SetActive(false);
            titlePanel.SetActive(true);
        }
        else
        {
            optionsPanel.SetActive(true);
            titlePanel.SetActive(false);
        }
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *