Звук машин

This commit is contained in:
2025-01-25 16:18:02 +03:00
parent d9b9d51430
commit b194dc0191
18 changed files with 419 additions and 41 deletions

View File

@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuScript : MonoBehaviour
{
// Start is called before the first frame update
public void RestartGame()
{
SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name);
}
public void ExitGame()
{
Application.Quit();
}
}