Implement working BGM player

This commit is contained in:
2022-08-16 09:27:55 -07:00
parent 4255ed97e7
commit 59e3451649
20 changed files with 829 additions and 260 deletions

View File

@@ -1,20 +0,0 @@
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);
}
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 492cbb8b94f132345bc45c0c471d3867
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: