超大量的更新 修复很多问题,gameplay特效初步
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
using System;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
public class NoteData
|
||||
{
|
||||
public int trackIndex; // 轨道索引
|
||||
public float time; // 音符出现时间(秒)
|
||||
public string color; // 音符颜色(如 "red", "blue")
|
||||
public string type; // 音符类型("tap" = 单击,"hold" = 长按)
|
||||
public float length; // 音符长度(仅用于长按音符,单位:秒)
|
||||
public int trackIndex; // Documentation text normalized.
|
||||
public float time; // Documentation text normalized.
|
||||
public string color; // Documentation text normalized.
|
||||
public string type; // Documentation text normalized.
|
||||
public float length; // Documentation text normalized.
|
||||
|
||||
// New fields for judgement recording
|
||||
// judgeOffsetMs: signed offset in milliseconds recorded at judgement time
|
||||
// positive = early (玩家按在目标时间之前), negative = late (玩家按在目标时间之后)
|
||||
// Documentation text normalized.
|
||||
// For tap notes this stores the single judgement offset. For hold notes, start judgement stored in judgeOffsetMs,
|
||||
// and end judgement stored in judgeOffsetMsEnd. Misses do not write offsets (left as NaN).
|
||||
public float judgeOffsetMs = float.NaN;
|
||||
@@ -26,27 +26,27 @@ public class NoteData
|
||||
[Serializable]
|
||||
public class TrackData
|
||||
{
|
||||
public string color; // 轨道颜色
|
||||
public string color; // Documentation text normalized.
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Beatmap
|
||||
{
|
||||
public string title; // 歌曲名
|
||||
public string composer; // 作曲家
|
||||
public string illustrator; // 画师
|
||||
public string charter; // 谱师
|
||||
public string beatmapId; // 谱面自定编号
|
||||
public float duration; // 歌曲时长(秒)
|
||||
public string title; // Documentation text normalized.
|
||||
public string composer; // Documentation text normalized.
|
||||
public string illustrator; // Documentation text normalized.
|
||||
public string charter; // Documentation text normalized.
|
||||
public string beatmapId; // Documentation text normalized.
|
||||
public float duration; // Documentation text normalized.
|
||||
public float bpm; // BPM
|
||||
public int difficulty; // 难度(数字)
|
||||
public string difficultyName;// 难度代号(如 "Easy", "Hard", "Expert")
|
||||
public string createdDate; // 谱面创建日期(字符串格式:yyyy-MM-dd)
|
||||
public string musicFile; // 音乐文件路径
|
||||
public string backgroundFile;// 曲绘文件路径
|
||||
public int difficulty; // Documentation text normalized.
|
||||
public string difficultyName;// Documentation text normalized.
|
||||
public string createdDate; // Documentation text normalized.
|
||||
public string musicFile; // Documentation text normalized.
|
||||
public string backgroundFile;// Documentation text normalized.
|
||||
|
||||
public TrackData[] tracks; // 轨道信息(每个轨道的颜色)
|
||||
public NoteData[] notes; // 音符列表
|
||||
public TrackData[] tracks; // Documentation text normalized.
|
||||
public NoteData[] notes; // Documentation text normalized.
|
||||
|
||||
public bool is_official = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user