阶段性完成

This commit is contained in:
SoulliesOfficial
2026-07-25 13:27:53 -04:00
parent de70870682
commit a34461d31f
121 changed files with 7022 additions and 4111 deletions

View File

@@ -9,7 +9,7 @@ namespace Ichni.UI
public Dropdown languageDropdown;
public override void Initialize()
{
offsetEditorButton.SetUp("Menu UI/Settings_Offset_Editor", "", "Menu UI/Settings_Enter");
offsetEditorButton.SetUp();
offsetEditorButton.updateValueAction = () =>
{
gameObject.SetActive(false);
@@ -19,7 +19,10 @@ namespace Ichni.UI
MenuManager.instance.settingsUIPage.settingsWindowController.buttonsContainer.gameObject.SetActive(false);
};
languageDropdown.SetUp(SettingsManager.instance.GetLanguageDropdownIndex(), MenuManager.instance.displayLanguageList, "Menu UI/Settings_Language");
// 语言列表采用各语言的自称(例如日本語、한국어),不应随当前 Locale 再次翻译。
languageDropdown.SetUpRuntime(
SettingsManager.instance.GetLanguageDropdownIndex(),
MenuManager.instance.displayLanguageList);
languageDropdown.updateValueAction = () =>
{
SettingsManager.instance.SetLanguageByDropdownIndex(languageDropdown.selectedIndex);