블랙잭 지형 복구 저장

This commit is contained in:
dldydtn9755-crypto
2026-06-12 17:55:01 +09:00
parent a0521c974a
commit ee73e1424d
9958 changed files with 732566 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0935fac81d466184b934e7543b1a3ad3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,24 @@
using System.Collections.Generic;
using UnityEngine;
public class Note
{
[HideInInspector] public float Time;
}
[CreateAssetMenu(fileName = "RhythmChart", menuName = "CatsRoom/RhythmChart")]
public class RhythmChart : ScriptableObject
{
public AudioClip SongClip; // 노래 파일
public float Bpm; // 분당 박자
public float Offset; // 첫 박자 시작 시각
public int NoteCount; // 노트 개수 (또는 곡 길이로 자동)
public List<Note> GenerateNotes() // BPM·offset으로 시간 목록 자동 생성
{
List<Note> notes = new List<Note>();
float interval = 60f / Bpm;
for (int i = 0; i < NoteCount; i++)
notes.Add(new Note { Time = Offset + interval * i });
return notes;
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 695b2ba110bb2ca46b704141e71e3d15