Implement working BGM player
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 492cbb8b94f132345bc45c0c471d3867
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user