主界面添加,许多bug修复。祝贺黑盒1如期开始

This commit is contained in:
FloatGaming
2026-03-02 04:34:13 +08:00
parent e11cc1da7a
commit 3c1d263ef1
308 changed files with 59216 additions and 32756 deletions
@@ -34,8 +34,8 @@ public class controllerSettings : MonoBehaviour
private bool previousKeyValid = false;
// slider range
private const float NoteSpeedMin = 0.8f;
private const float NoteSpeedMax = 1.25f;
private const float NoteSpeedMin = 0.5f;
private const float NoteSpeedMax = 2f;
private const string NoteSpeedPrefKey = "noteSpeedMultiplier";
// continuous change
@@ -441,7 +441,9 @@ public class controllerSettings : MonoBehaviour
{
if (noteSpeedMultipler_valueText != null)
{
noteSpeedMultipler_valueText.text = value.ToString("F3");
// 将 0.5-2.0 映射为 50%-200% 的百分比显示
int percentage = Mathf.RoundToInt(value * 100f);
noteSpeedMultipler_valueText.text = $"{percentage}%";
}
}