2026-04-27 중간저장

This commit is contained in:
2026-04-27 17:01:26 +09:00
parent 5ed3f9f750
commit 88a71e6292
40 changed files with 861 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using UnityEngine;
public class BGMHud : MonoBehaviour
{
[SerializeField] private GameObject _contentRoot;
[SerializeField] private GameObject _contentPrefab;
private BGMBox currentBgm;
public void PlayPickBGM(GameObject buttonObj)
{
if(currentBgm != null)
currentBgm.StopBGM();
BGMBox bgmBox = buttonObj.GetComponentInParent<BGMBox>();
bgmBox.PlayBGM();
currentBgm = bgmBox;
}
}