Add a lot of stuff

This commit is contained in:
2022-08-14 18:31:08 -07:00
parent e1ae7deba5
commit a779a19bbf
27 changed files with 2428 additions and 733 deletions

View File

@@ -0,0 +1,23 @@
using UnityEngine;
namespace Scampz.GameJam.Assets.Scripts
{
public class BGMManager : MonoBehaviour
{
public static BGMManager Instance { get; private set; }
[SerializeField]
private AudioSource audioSource;
[SerializeField]
private AudioClip[] backgroundMusic;
private void Awake()
{
if (Instance == null)
Instance = this;
}
}
}

View File

@@ -52,6 +52,7 @@ namespace Scampz.GameJam
private IEnumerator TypeSentence(string sentence)
{
dialogueText.text = string.Empty;
foreach (var letter in sentence.ToCharArray())
{