using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; //using Unity.Android.Gradle.Manifest; using UnityEditor; public class materi : MonoBehaviour { public GameObject menupanel; public GameObject materisatupanel; // public GameObject materiduapanel; //public GameObject materitigapanel; // Start is called before the first frame update void Start() { materisatupanel.SetActive(true); // materiduapanel.SetActive(false); // materitigapanel.SetActive(false); } // Update is called once per frame void Update() { } public void ButtonNext() { materisatupanel.SetActive(false); // materiduapanel.SetActive(true); } public void ButtonPrev() { materisatupanel.SetActive(true); // materiduapanel.SetActive(false); } public void ButtonBack(string scenename) { //menupanel.SetActive(true); //materisatupanel.SetActive(false); //materiduapanel.SetActive(false); SceneManager.LoadScene(scenename); } }