Make som edits in player prefab and MainMenu

This commit is contained in:
haitem committed 2021-01-31 01:18:37 +01:00
1 parent 142e43c9f8
commit 9b95224e59
5 files changed
+237 -15

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ public class MainMenu : MonoBehaviour
public void Credits()
{
StartCoroutine(GetText("dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php"));
StartCoroutine(GetText("dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php"));
ScoreText.text = "test";
}
+1 -1
View File
@@ -58,7 +58,7 @@ public class PlayerManager : MonoBehaviour
{
if (Input.GetKeyDown(KeyCode.Escape))
{
Application.Quit(0);
SceneManager.LoadScene("MainMenu");
}
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
{