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,20 @@
using UnityEngine;
namespace Scampz.GameJam
{
public class UnloadScene : MonoBehaviour
{
[SerializeField]
private string scene;
private bool unloaded = false;
void OnTriggerEnter(Collider collider)
{
if (!unloaded)
{
unloaded = true;
GameManager.Instance.UnloadScene(scene);
}
}
}
}