Stranar/Assets/Scripts/Loadintro.cs
2022-06-27 11:54:53 +02:00

25 lines
449 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//import scene manager
using UnityEngine.SceneManagement;
public class Loadintro : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void LoadIntro(){
SceneManager.LoadScene("Intro");
}
}