add the connections and sendToTest.cs for connecting with the game test
This commit is contained in:
@@ -116,6 +116,7 @@ public class Note : BaseNote
|
||||
if (!string.IsNullOrEmpty(judgeResult))
|
||||
{
|
||||
InputManager.Instance?.ShowJudgeResult(TrackIndex, judgeResult);
|
||||
teamUIController.Instance?.OnJudgeResult(judgeResult); // 新增:更新combo计数
|
||||
}
|
||||
Judge();
|
||||
}
|
||||
@@ -149,7 +150,10 @@ public class Note : BaseNote
|
||||
if (isJudged) return;
|
||||
isJudged = true;
|
||||
Debug.Log($"{keyToPress} Miss");
|
||||
// InputManager.Instance?.ShowJudgeResult(TrackIndex, "Miss"); // 已在HandlePress中调用
|
||||
// Ensure UI shows Miss and combo is updated when a note auto-misses
|
||||
InputManager.Instance?.ShowJudgeResult(TrackIndex, "Miss");
|
||||
teamUIController.Instance?.OnJudgeResult("Miss");
|
||||
// InputManager.Instance?.ShowJudgeResult(TrackIndex, "Miss"); // 已在HandlePress中调用 for manual presses
|
||||
ReturnToPool();
|
||||
}
|
||||
|
||||
@@ -182,6 +186,9 @@ public class Note : BaseNote
|
||||
// 离开判定区且未判定则判 Miss
|
||||
if (!inZone && !isJudged)
|
||||
{
|
||||
// Show Miss and update combo
|
||||
InputManager.Instance?.ShowJudgeResult(TrackIndex, "Miss");
|
||||
teamUIController.Instance?.OnJudgeResult("Miss");
|
||||
JudgeMiss();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user