Start of integrating models and pre-rendered backgrounds

This commit is contained in:
2022-08-13 21:28:44 -07:00
parent 1071a1347e
commit 19f6555ce9
26 changed files with 756 additions and 167 deletions

View File

@@ -6,10 +6,9 @@ namespace Scampz.GameJam
{
public class BaseSceneManager : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
GameManager.Instance.LoadScene(SceneNames.FirstPreRenderedScene, LoadSceneMode.Additive);
GameManager.Instance.LoadScene(SceneNames.SecondPreRenderedScene, LoadSceneMode.Additive);
}
}
}

View File

@@ -1,5 +1,4 @@
using System.Collections;
using Scampz.GameJam.Assets.Scripts;
using UnityEngine;
using UnityEngine.SceneManagement;

View File

@@ -0,0 +1,15 @@
using UnityEngine;
namespace Scampz.GameJam.Assets.Scripts
{
public class InputManager : MonoBehaviour
{
public static InputManager Instance { get; private set; }
private void Awake()
{
if (Instance == null)
Instance = this;
}
}
}

View File

@@ -1,3 +1,4 @@
using Scampz.GameJam.Assets.Scripts;
using UnityEngine;
namespace Scampz.GameJam
@@ -14,6 +15,16 @@ namespace Scampz.GameJam
animator.SetTrigger("FadeOut");
}
public void EnableControls()
{
//InputManager.Instance.enabled = true;
}
public void DisableControls()
{
//InputManager.Instance.enabled = false;
}
private void Awake()
{
if (Singleton is not null && Singleton != this)