using UnityEngine; using UnityEngine.SceneManagement; public class titleButtonsControl : MonoBehaviour { public void startButtonClick() { GetComponent().Play(); SceneManager.LoadScene("level1"); } public void exitButtonClick() { GetComponent().Play(); Application.Quit(0); } }