1
Fork 0
mirror of https://github.com/Steffo99/beat-td.git synced 2024-11-25 16:54:18 +00:00
beat-td/Assets/Scripts/LoadSceneOnClick.cs

12 lines
263 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LoadSceneOnClick : MonoBehaviour {
public void Play () {
SceneManager.LoadScene("Game");
Time.timeScale = 1;
}
}