微调
This commit is contained in:
@@ -162,7 +162,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
for (int i = 0; i < animations.Count; i++)
|
||||
{
|
||||
if (nowTime >= animations[i].startTime && nowTime <= animations[i].endTime)
|
||||
if (nowTime >= animations[i].startTime && nowTime < animations[i].endTime)
|
||||
{
|
||||
currentAnimationIndex = i;
|
||||
return animations[i];
|
||||
@@ -175,7 +175,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
for (int i = 0; i < animations.Count - 1; i++)
|
||||
{
|
||||
if (nowTime >= animations[i].startTime && nowTime <= animations[i + 1].startTime)
|
||||
if (nowTime >= animations[i].startTime && nowTime < animations[i + 1].startTime)
|
||||
{
|
||||
currentAnimationIndex = i;
|
||||
return;
|
||||
|
||||
@@ -47,9 +47,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
selectSubmodule ??= new SelectSubmodule(this, note);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public override void SetUpInspector()
|
||||
{
|
||||
base.SetUpInspector();
|
||||
@@ -64,6 +62,7 @@ namespace Ichni.RhythmGame
|
||||
inspector.GenerateToggle(this, settingsSubcontainer, "Highlight", nameof(isHighlighted))
|
||||
.AddListenerFunction(SetHighlight);
|
||||
}
|
||||
|
||||
public virtual void Recover()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user