hch
2026-01-27 2c44b7b2fb4b68d425ca67922c122f62292c2923
437 子 【方案】方案预设 / 【方案】方案预设-客户端
2个文件已修改
5 ■■■■ 已修改文件
Main/System/FuncPreset/FuncPresetWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Mingge/MinggeItemCell.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/FuncPreset/FuncPresetWin.cs
@@ -1,4 +1,5 @@
using System.Linq;
using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
@@ -52,6 +53,7 @@
    void OnFuncPresetUseDataEvent(int type)
    {
        Display();
        UIUtility.ForceRefreshLayout(layout).Forget();
    }
    void Display()
Main/System/Mingge/MinggeItemCell.cs
@@ -56,7 +56,8 @@
            loopEffect.Stop();
        }
        //特效参考尺寸106*150 同比例缩放
        loopEffect.transform.localScale = new Vector3(1, 0.76f, 1);
        var rect = bgIcon.GetComponent<RectTransform>();
        loopEffect.transform.localScale = new Vector3(rect.sizeDelta.x / 106f, rect.sizeDelta.y / 150f, 1);
    }
}