Skip to content
Snippets Groups Projects
Commit 7c56ee44 authored by Daffa Romyz Aufa's avatar Daffa Romyz Aufa
Browse files

feat : load scoreboard in mainmenu

parent 85b5937d
Branches
No related merge requests found
...@@ -26,7 +26,7 @@ public class MenuClick : MonoBehaviour ...@@ -26,7 +26,7 @@ public class MenuClick : MonoBehaviour
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
} }
public void NewGame() public void NewGame()
...@@ -51,6 +51,7 @@ public class MenuClick : MonoBehaviour ...@@ -51,6 +51,7 @@ public class MenuClick : MonoBehaviour
public void Score() public void Score()
{ {
Debug.Log("You have clicked the button Score!"); Debug.Log("You have clicked the button Score!");
SceneManager.LoadScene("ScoreBoard");
} }
public void Exit() public void Exit()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment