Skip to content

Commit

Permalink
Menu básico
Browse files Browse the repository at this point in the history
  • Loading branch information
KSalmaze committed Oct 4, 2024
1 parent 528f4ad commit 889df1a
Show file tree
Hide file tree
Showing 3 changed files with 824 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Assets/MenuManager.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class MenuManager : MonoBehaviour
{
public void LoadScene(string sceneName)
{
SceneManager.LoadScene(sceneName);
}

public void QuitGame()
{
Application.Quit();
}
}
11 changes: 11 additions & 0 deletions Assets/MenuManager.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 889df1a

Please sign in to comment.