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

13 lines
263 B
C#
Raw Normal View History

2018-04-23 08:45:40 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LoadSceneOnClick : MonoBehaviour {
public void Play () {
SceneManager.LoadScene("Game");
2018-04-23 11:50:24 +00:00
Time.timeScale = 1;
2018-04-23 08:45:40 +00:00
}
}