Make som edits in player prefab and MainMenu
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user