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