feat: 火山表达维修粒子字符池拆分

This commit is contained in:
2026-07-29 13:00:59 +08:00
parent a48e4babd4
commit 8f2ee603d5
26 changed files with 1830 additions and 401 deletions
@@ -233,7 +233,7 @@ namespace AibisDream.MiniGame.Language
/// 目标粒子:从本轮本地化默认池随机;非目标粒子:从笑话/干扰短句字符中随机。
/// 使用 IsTarget 判断,与红蓝颜色解绑。
/// </summary>
protected override string GetNextDisplayChar()
protected override string GetNextDisplayUnit()
{
if (TryGetOverridePoolChar(out string overrideChar))
return overrideChar;
@@ -274,8 +274,7 @@ namespace AibisDream.MiniGame.Language
if (changeTimer > 0f)
return;
currentChar = GetNextDisplayChar();
UpdateText();
ForceSetUnitText(GetNextDisplayUnit());
changeTimer = Mathf.Max(0.02f, changeInterval);
}
@@ -431,6 +430,7 @@ namespace AibisDream.MiniGame.Language
textMesh.fontSize = nonTargetFontSize;
textMesh.fontStyle = nonTargetBold ? TMPro.FontStyles.Bold : TMPro.FontStyles.Normal;
}
InvalidateVisualBounds();
}
}
}