Fix default spawn issue TODO: Fix issue with spawning when loading from other scenes
16 lines
333 B
C#
16 lines
333 B
C#
using Scampz.GameJam.Assets.Scripts;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
namespace Scampz.GameJam
|
|
{
|
|
public class TitleScreen : MonoBehaviour
|
|
{
|
|
void Update()
|
|
{
|
|
if (Input.GetButton(InputOptions.Submit))
|
|
GameManager.Instance.LoadScene(SceneNames.WorldMap, LoadSceneMode.Single);
|
|
}
|
|
}
|
|
}
|