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

Leave a Reply