Middle Menu
This commit is contained in:
parent
4b374c6805
commit
a258192ef6
1387
Assets/Scenes/Menu/MiddleMenu.unity
Normal file
1387
Assets/Scenes/Menu/MiddleMenu.unity
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 89e3b8217119e5342a8150f4a2b3cc44
|
||||
folderAsset: yes
|
||||
guid: b96b6e60af62e3d408311cac96ff2f47
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
@ -30,7 +30,6 @@ public class MainMenu : MonoBehaviour
|
||||
public void Credits()
|
||||
{
|
||||
StartCoroutine(GetText("dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php"));
|
||||
ScoreText.text = "test";
|
||||
}
|
||||
|
||||
public void QuitGame()
|
||||
@ -39,6 +38,11 @@ public class MainMenu : MonoBehaviour
|
||||
Application.Quit();
|
||||
}
|
||||
|
||||
public void BackToMainMenu()
|
||||
{
|
||||
SceneManager.LoadScene(0);
|
||||
}
|
||||
|
||||
public void ScoreSubmit()
|
||||
{
|
||||
WWWForm form = new WWWForm();
|
||||
@ -49,6 +53,10 @@ public class MainMenu : MonoBehaviour
|
||||
SceneManager.LoadScene(0);
|
||||
}
|
||||
|
||||
public void RestartLevel(){
|
||||
|
||||
}
|
||||
|
||||
IEnumerator GetText(string uri) {
|
||||
UnityWebRequest www = UnityWebRequest.Get(uri);
|
||||
yield return www.SendWebRequest();
|
||||
|
File diff suppressed because one or more lines are too long
@ -23,4 +23,7 @@ EditorBuildSettings:
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/Menu/FinalMenu.unity
|
||||
guid: e728960f94bcba84089c530dec85aa8d
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/Menu/MiddleMenu.unity
|
||||
guid: b96b6e60af62e3d408311cac96ff2f47
|
||||
m_configObjects: {}
|
||||
|
Loading…
Reference in New Issue
Block a user