AderKI 897f910d37 Main Changes, List below ...
1) Refactor Project Architecture
2) Add Assets
3) Change Prefabs
4) Change Input Method (now using PlayerInput Component)
5) Add Weapon Prefab & Simple Script with Shooting()
6) Add Menu Scene & two btn functions: QuitGame() & PlayGame()
2024-11-02 02:36:03 +03:00

15 lines
282 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuGroup : MonoBehaviour
{
public void PlayGame()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
}
public void QuitGame()
{
Application.Quit();
}
}