+EA 23.350 Nightly - Plugin.UI โ
September 28, 2026
2 files modified.
Important Changes โ
Possible breaking changes. Click the filename to view the chunk.
UINote (1) โ
cs
public UIDropdown AddDropdown(string id = "DropdownDefault")
public UIDropdown AddDropdown(string text) Layer โ
public T AddLayerDontCloseOthers<T>() where T : Layer
cs
return AddLayerDontCloseOthers(Create<T>()) as T;
}
public T AddLayerDontCloseOthers<T>(string path) where T : Layer
{
return AddLayerDontCloseOthers(Create<T>(path)) as T;
}
public Layer AddLayerDontCloseOthers(Layer l)
{
l.option.screenlockType = Option.ScreenlockType.Default;UINote โ
public UIButton AddButtonLink(string text, string url)
cs
return button;
}
public UIDropdown AddDropdown(string id = "DropdownDefault")
public UIDropdown AddDropdown(string text)
{
return Load<UIDropdown>("UI/Element/Other/" + id);
UIItem uIItem = Load("UI/Element/Item/ItemDropdown");
uIItem.text1.SetText(text.lang());
return uIItem.GetComponentInChildren<UIDropdown>();
}
public Slider AddSlider(float value, Func<float, string> action, float min = 0f, float max = 1f, bool isInt = false)
{
Slider componentInChildren = Load<Transform>("UI/Element/Input/Slider").GetComponentInChildren<Slider>();
UIText t = componentInChildren.GetComponentInChildren<UIText>(includeInactive: true);
t.SetSize(0);
componentInChildren.minValue = min;
componentInChildren.maxValue = max;
componentInChildren.wholeNumbers = isInt;
componentInChildren.SetValueWithoutNotify(value);
componentInChildren.onValueChanged.AddListener(delegate(float a)
{
t.text = action(a);
});
t.text = action(componentInChildren.value);
return componentInChildren;
}
public UIButton AddToggle(string idLang = "", bool isOn = false, Action<bool> action = null)