2026-06-18 앉기 UI등등

This commit is contained in:
2026-06-18 18:09:08 +09:00
parent 83b3c4a27c
commit f69d0ef273
173 changed files with 359 additions and 6 deletions

View File

@@ -32,7 +32,8 @@ public class RhythmManager : MonoBehaviour
[SerializeField] private Collider[] _drumPadColliders;
// 자동 전용 스틱(손 포함)의 표시/숨김은 위 _autoPlaySticks의 GameObject를 그대로 토글한다.
[SerializeField] private GameObject StartButtonObj;
[SerializeField] private GameObject _startButtonObj;
[SerializeField] private GameObject _autoCheckObj;
[Header("시작 카운트다운 (VR 준비 시간)")]
[SerializeField] private float _countdownTime = 5f; // 시작 버튼 후 노래가 실제로 시작되기까지 대기 시간(초)
@@ -248,7 +249,8 @@ public void StartSong()
if (_isPlaying) return; // 이미 재생 중이면 무시
if (_isCountingDown) return; // 카운트다운 진행 중 중복 클릭 차단
if (StartButtonObj != null) StartButtonObj.SetActive(false); // 버튼 즉시 숨김
if (_startButtonObj != null) _startButtonObj.SetActive(false); // 버튼 즉시 숨김
if (_autoCheckObj != null) _autoCheckObj.SetActive(false);
_ = CountdownThenBeginAsync(); // fire-and-forget (await 결과 불필요)
}