Stranar/Assets/Scripts/Loadintro.cs

25 lines
449 B
C#
Raw Normal View History

2022-06-27 11:54:53 +02:00
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");
}
}