改正JudgeArea的范围和默认值

This commit is contained in:
SoulliesOfficial
2025-05-31 00:19:46 -04:00
parent 03f0c93548
commit 5032b342fa
18 changed files with 20579 additions and 19522 deletions

View File

@@ -70,7 +70,7 @@ namespace Ichni.RhythmGame
private static Dictionary<string, NoteJudgeUnit> JudgeUnitCollection(NoteBase note) =>
new Dictionary<string, NoteJudgeUnit>()
{
{ "TouchArea", new TouchAreaJudgeUnit(note, 1000) },
{ "TouchArea", new TouchAreaJudgeUnit(note, 500) },
{ "FullScreenNearTime", new FullScreenNearTimeJudgeUnit(note) },
{ "TriggerConnect", new TriggerConnectJudgeUnit(note, null) }
};

View File

@@ -10,7 +10,7 @@ using UnityEngine.Serialization;
namespace Ichni.RhythmGame
{
public abstract partial class NoteBase : GameElement, IHaveTimeDurationSubmodule
public abstract partial class NoteBase : GameElement, IHaveTimeDurationSubmodule, IComparable<NoteBase>
{
[Title("Basic Info")]
public float exactJudgeTime;
@@ -192,6 +192,11 @@ namespace Ichni.RhythmGame
}
}
public int CompareTo(NoteBase other)
{
return exactJudgeTime.CompareTo(other.exactJudgeTime);
}
}
public abstract partial class NoteBase