yyl
2026-02-11 3f2cd27c5dfb3b450245bf1a37fc1b3414031c7c
Main/System/HeroUI/HeroSkillWin.cs
@@ -57,9 +57,11 @@
    async UniTask ForceRefreshLayout()
    {
        await UniTask.DelayFrame(2);
        if (this == null) return; // destroyed during await
        LayoutRebuilder.ForceRebuildLayoutImmediate(bg);
        // 刷新所有Layout组件
        await UniTask.Delay(100);
        if (this == null) return; // destroyed during await
        // 刷新所有Layout组件
        LayoutRebuilder.ForceRebuildLayoutImmediate(bg);
    }