fix(bodymodule): 切割入场同步全部模块CutText
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -343,6 +343,21 @@ namespace AibisDream.FixSystem
|
||||
_moduleState = moduleState;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 进入切割特写时,按各模块当前 ModuleCondition 同步所有模块的 CutText 亮灭,
|
||||
/// 保证特写里每个模块文字都与舱外一致——而不只是被切割的目标模块。
|
||||
/// </summary>
|
||||
public void SyncAllCutTextsFromCondition()
|
||||
{
|
||||
if (BodyModules == null) return;
|
||||
|
||||
foreach (var module in BodyModules)
|
||||
{
|
||||
if (module != null)
|
||||
module.ApplyCutTextFromCondition();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从模块中清除
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user