Revert "Merge pull request '리듬게임' (#5) from CatsRhythmGame into main"

This reverts commit 58385bf819, reversing
changes made to 8369e2ab51.
This commit is contained in:
skrwns304@gmail.com
2026-06-16 12:23:32 +09:00
parent 58385bf819
commit d7d5519fbf
2320 changed files with 154 additions and 251716 deletions

View File

@@ -3,8 +3,7 @@
public class RhythmNoteInstance : MonoBehaviour
{
[HideInInspector] public float HitTime; // 이 노트의 도달 시각
[HideInInspector] public int Lane; // 이 노트의 레인 (오토플레이 스틱 매칭용)
public float HitTime; // 이 노트의 도달 시각
[SerializeField] private float _missWindow = 0.15f; // 판정선을 이만큼 지나면 자동 Miss
@@ -15,14 +14,13 @@ public class RhythmNoteInstance : MonoBehaviour
private Action<RhythmNoteInstance> _onMiss; // 지나쳐서 Miss 났을 때 통지
// 스폰 시 목적지·타이밍 주입 (B 방식)
public void Setup(Vector3 start, Vector3 target, float spawnTime, float hitTime, int lane,
public void Setup(Vector3 start, Vector3 target, float spawnTime, float hitTime,
Func<float> songTime, Action<RhythmNoteInstance> onMiss = null)
{
_start = start;
_target = target;
_spawnTime = spawnTime;
HitTime = hitTime;
Lane = lane;
_songTime = songTime;
_onMiss = onMiss;