Answers for "back button in untiy android"

0

unity android back button

using UnityEngine.SceneManagement;

void Update()
{
    if (Input.GetKey(KeyCode.Escape))
    {
        SceneManager.LoadScene("Main Menu");
    }
}
Posted by: Guest on March-03-2021

Code answers related to "back button in untiy android"

Browse Popular Code Answers by Language