using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.SceneManagement;public class Play : MonoBehaviour{ public void PlayGame() { SceneManager.Load(SceneManager.GetActiveScene().buildIndex + 1); } public void ExitGame() { application.Quit(); }}