mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-11-11 04:22:40 +00:00
options/credits menu pog
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user