repaired the motherfucking hold note problem which troubled us longer than 2 months

added some UI
This commit is contained in:
FloatGaming
2025-08-02 00:28:35 +08:00
parent 373f0511e3
commit 774d3aeb7f
160 changed files with 5472 additions and 841 deletions
@@ -20,7 +20,7 @@ public class TrackKeyManager : MonoBehaviour
}
/// <summary>
/// 当音符进入判定区域时,添加按键映射
/// 当音符进入判定区域时,添加按键映射
/// </summary>
public void RegisterKey(int trackIndex, KeyCode key)
{
@@ -31,7 +31,7 @@ public class TrackKeyManager : MonoBehaviour
}
/// <summary>
/// 当音符离开判定区域时,移除按键映射
/// 当音符离开判定区域时,移除按键映射
/// </summary>
public void UnregisterKey(int trackIndex, KeyCode key)
{
@@ -45,7 +45,7 @@ public class TrackKeyManager : MonoBehaviour
}
/// <summary>
/// 获取轨道当前的按键(队列头)
/// 获取轨道当前的按键(队列头)
/// </summary>
public KeyCode GetCurrentKey(int trackIndex)
{
@@ -53,6 +53,6 @@ public class TrackKeyManager : MonoBehaviour
{
return trackKeyMappings[trackIndex].Peek();
}
return KeyCode.None; // 无按键
return KeyCode.None; // 无按键
}
}