flappy_bird/Assets/Scripts/mainmenumanager.cs
2025-01-26 18:07:27 +05:30

27 lines
456 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class mainmenumanager : MonoBehaviour
{
public void exit()
{
Application.Quit();
}
public void play()
{
SceneManager.LoadScene (1);
}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}