Install Steam
sign in
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
- Progress Bar now has a convenient struct reference to keep the label.
- Helpers to Save/Load KeyValuePair<TKey, TValue> where they are IConvertible.
- Added MinMaxSlider support (note that it needs an Initialize call due to being dependent on a dedicated IVisualElementInitializer).
Please see if this helps. If you need anything feel free to contact me on Discord, there is a channel for this mod: https://discord.com/channels/558398674389172225/1064825134348763209/threads/1433299764799213588
And yeah, that’s how I’ve been trying to use the sliders, but they won’t display. It’s probably some silly mistake somewhere and I just need to learn more of how the UI system works.
var slider = parent.AddChild<MinMaxSlider>(); // ...
https://docs.unity3d.com/2022.3/Documentation/Manual/UIE-uxml-element-MinMaxSlider.html
And no, I don’t think the base game has MinMaxSliders anywhere. It is a Unity class, and you can create them and add them as a child of other elements. They will show up in the PrintVisualTree dump, but they don’t display in-game.
I was hoping there was something simple I’d missed. But I guess I’ll just have to reverse-engineer harder. ^^