Skip to content
Snippets Groups Projects
Commit be0ba3a1 authored by Jacky Chen's avatar Jacky Chen
Browse files

Added script

parent 2b3ef5e8
No related branches found
No related tags found
No related merge requests found
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Adventure1to2 : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.Z))
{
SceneManager.LoadScene("AdventureBegins2");
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment