Files
Scampz/Assets/Scripts/TitleScreen/TitleScreen.cs
2022-08-16 01:49:55 -07:00

18 lines
365 B
C#

using Scampz.GameJam.Assets.Scripts;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Scampz.GameJam
{
public class TitleScreen : MonoBehaviour
{
void Update()
{
if (Input.GetButtonDown(InputOptions.Submit))
{
GameManager.Instance.LoadScene(SceneNames.Singleton, transform, LoadSceneMode.Single);
}
}
}
}