MAJOR: Re-organize entire project

This commit is contained in:
2022-08-15 11:56:39 -07:00
parent 1e4c73ea1e
commit 49b14df1af
322 changed files with 3010 additions and 33674 deletions

View File

@@ -0,0 +1,35 @@
using UnityEngine;
namespace Scampz.GameJam
{
public class LevelChanger : MonoBehaviour
{
public Animator animator;
public int sceneIndex = 0;
public static LevelChanger Singleton { get; private set; }
public void OnTriggerEnter(Collider collider)
{
//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)
Destroy(this);
else
Singleton = this;
}
}
}