options/credits menu pog

This commit is contained in:
Zoe J committed 2022-02-20 18:12:41 -06:00
1 parent 973f0153a3
commit 2f91e03c74
5 files changed
+1387 -648

No files matched your search

@@ -6,6 +6,8 @@ using UnityEngine.SceneManagement;
public class mainMenu : MonoBehaviour
{
public string firstLevel;
public GameObject optionsScreen;
public GameObject creditsScreen;
// Start is called before the first frame update
void Start()
@@ -26,12 +28,22 @@ public class mainMenu : MonoBehaviour
public void OpenOptions()
{
optionsScreen.SetActive(true);
}
public void CloseOptions()
{
optionsScreen.SetActive(false);
}
public void OpenCredits()
{
creditsScreen.SetActive(true);
}
public void CloseCredits()
{
creditsScreen.SetActive(false);
}
public void QuitGame()