yyl
2026-03-26 1ab047b5fdd933c38ba0519ec2e83a44512ea8d7
Main/System/Battle/UIComp/BattleBuffCell.cs
@@ -66,15 +66,19 @@
        if (cellContainer == null)
        {
            cellContainer = await UIUtility.CreateWidget("BattleBuffCell", "Container_BuffCell");
            var inst = await UIUtility.CreateWidget("BattleBuffCell", "Container_BuffCell");
            if (this == null)
            {
                if (null != cellContainer)
                {
                    DestroyImmediate(cellContainer);
                }
                if (null != inst) DestroyImmediate(inst);
                return;
            }
            if (cellContainer != null)
            {
                DestroyImmediate(inst);
                return;
            }
            cellContainer = inst;
            if (cellContainer != null)
            {
@@ -109,6 +113,7 @@
            return;
        }
        await LoadPrefab();   //存在被卸载的可能,重新加载
        if (this == null) return;
        var config = SkillConfig.Get((int)buffData.SkillID);
        if (config == null)
        {