Day1
Change Scene
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class NewBehaviourScript : MonoBehaviour
{
public void NextScene(){
SceneManager.LoadScene("PreviousScean");
}
public void PreviousScean(){
SceneManager.LoadScene("SampleScene");
}
}
Comments
Post a Comment