feat: 火山表达维修粒子字符池拆分
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user