hch
2026-01-27 6f218b9016163772015972541b28a6a20284064c
437 子 【方案】方案预设 / 【方案】方案预设-客户端
2个文件已修改
10 ■■■■ 已修改文件
Main/System/FuncPreset/FuncPresetManager.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/FuncPreset/FuncPresetWin.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/FuncPreset/FuncPresetManager.cs
@@ -99,7 +99,7 @@
            m_FuncPresetDict[config.PresetType][config.PresetID] = new FuncPreset()
            {
                unLock = config.UnlockType == 0,
                PresetName = Language.Get("Mingge13", config.PresetID)
                PresetName = Language.Get(config.PresetType == 1 ? "FuncPreset10" : "Mingge13", config.PresetID)
            };
        }
    }
@@ -121,7 +121,8 @@
                m_FuncPresetDict[funcPresetInfo.FuncPresetType][preset.PresetID] = new FuncPreset()
                {
                    unLock = _unlock,
                    PresetName = string.IsNullOrEmpty(preset.PresetName) ? Language.Get("Mingge13", preset.PresetID) : preset.PresetName,
                    PresetName = string.IsNullOrEmpty(preset.PresetName) ?
                        Language.Get(funcPresetInfo.FuncPresetType == 1 ? "FuncPreset10" : "Mingge13", preset.PresetID) : preset.PresetName,
                };
            }
        }
Main/System/FuncPreset/FuncPresetWin.cs
@@ -28,6 +28,10 @@
    {
        globalPresetBtn.AddListener(() =>
        {
            if (FuncPresetManager.Instance.GetShowFuncPresetCount((int)FuncPresetType.Global) == 0)
            {
                return;
            }
            globalPresetObj.SetActive(true);
        });
        var presetObj = UIUtility.CreateWidget("FuncPresetChooseCells", "FuncPresetChooseCells");
@@ -66,6 +70,7 @@
        globalPresetNameText.text = globalePreset.PresetName;
        var showCnt = FuncPresetManager.Instance.GetShowFuncPresetCount((int)FuncPresetType.Global);
        for (int i = 0; i < morecells.Length; i++)
        {
            if (i < showCnt)