void OnTriggerEnter2D(Collider2D other)
 {
     if (other.gameObject.tag == "Player")
     {
         babyTurtle.Death();
     }
 }
Esempio n. 2
0
    public void LoadMenu()
    {
        pauseMenuUI.SetActive(false);
        Time.timeScale = 1f;
        babyTurtle.Death();

        SceneManager.LoadScene("Main Menu");
    }