设置扩展

This commit is contained in:
SoulliesOfficial
2026-07-19 16:44:58 -04:00
parent dda354ebb9
commit 9fd5f098ab
110 changed files with 8386 additions and 2311 deletions

View File

@@ -12,9 +12,9 @@ namespace Ichni.UI
public int selectedIndex;
public string selectedOption;
public void SetUp(int initialValue, List<string> options, string title = "")
public void SetUp(int initialValue, List<string> options, string title = "", bool preservePrefabTitle = false)
{
base.SetUp(title);
base.SetUp(title, preservePrefabTitle: preservePrefabTitle);
this.options = options;
this.dropdown.items = new List<CustomDropdown.Item>();
@@ -45,4 +45,4 @@ namespace Ichni.UI
dropdown.UpdateItemLayout();
}
}
}
}