Scoreboard implementation part 1
Get scores from server Submit score to server Basic scoreboard scene
This commit is contained in:
28
Assets/Scripts/Core/MenuManager.cs
Normal file
28
Assets/Scripts/Core/MenuManager.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class MenuManager : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void StartGame()
|
||||
{
|
||||
UnityEngine.SceneManagement.SceneManager.LoadScene("Main");
|
||||
}
|
||||
|
||||
public void QuitGame()
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user