Menu: link to scores

parent 4ef0e6de
No preview for this file type
...@@ -14,10 +14,15 @@ public class Menu : MonoBehaviour { ...@@ -14,10 +14,15 @@ public class Menu : MonoBehaviour {
} }
public void OnButtonPlayClicked() public void OnButtonPlayClicked()
{ {
SceneManager.LoadScene("Main"); SceneManager.LoadScene("Main");
} }
public void OnButtonScoreClicked()
{
SceneManager.LoadScene("Scores");
}
public void OnButtonScoresClicked() public void OnButtonScoresClicked()
{ {
......
Markdown is supported
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