39 uIContextMenu.
AddSlider(
"width", (
float a) => a.ToString() ??
"",
extra.
width, delegate(
float a)
43 }, 10f, 100f, isInt:
true);
44 uIContextMenu.
AddSlider(
"height", (
float a) => a.ToString() ??
"",
extra.
height, delegate(
float a)
46 extra.height = (int)a;
48 }, 5f, 300f, isInt:
true);
59 imageSubBar.SetActive(extra.subBar);
64 base.OnChangeResolution();
65 this.Rect().sizeDelta =
new Vector2(0.01f * (
float)Screen.width * (
float)extra.width /
EMono.
core.
uiScale + 2f, extra.height + 10);