437 子 【方案】方案预设 / 【方案】方案预设-客户端
| | |
| | | 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) |
| | | }; |
| | | } |
| | | } |
| | |
| | | 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, |
| | | }; |
| | | } |
| | | } |
| | |
| | | { |
| | | globalPresetBtn.AddListener(() => |
| | | { |
| | | if (FuncPresetManager.Instance.GetShowFuncPresetCount((int)FuncPresetType.Global) == 0) |
| | | { |
| | | return; |
| | | } |
| | | globalPresetObj.SetActive(true); |
| | | }); |
| | | var presetObj = UIUtility.CreateWidget("FuncPresetChooseCells", "FuncPresetChooseCells"); |
| | |
| | | globalPresetNameText.text = globalePreset.PresetName; |
| | | |
| | | var showCnt = FuncPresetManager.Instance.GetShowFuncPresetCount((int)FuncPresetType.Global); |
| | | |
| | | for (int i = 0; i < morecells.Length; i++) |
| | | { |
| | | if (i < showCnt) |