Clean up project, create Singleton
This commit is contained in:
14
Assets/Scripts/Scenes/SingletonManager.cs
Normal file
14
Assets/Scripts/Scenes/SingletonManager.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Scampz.GameJam.Assets.Scripts;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace Scampz.GameJam
|
||||
{
|
||||
public class SingletonManager : MonoBehaviour
|
||||
{
|
||||
void Start()
|
||||
{
|
||||
GameManager.Instance.LoadScene(SceneNames.TempleA, LoadSceneMode.Additive);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user