Hi, amazing plugin, just like UI Assist.
I couldnt find a setting to get an offset from screen border (either bottom or top) I tempered a bit with the anchor values, but the scroll bar and browser view is a bit bugged
//this works
if (anchorPreset == vStretchMiddle) anchorMin = new Vector2(0.5f, 0.15f);
if (anchorPreset == vStretchRight) anchorMin = new Vector2(1f, 0.15f);
if (anchorPreset == vStretchLeft) anchorMin = new Vector2(0f, 0.15f);
Tried adding offset but didn't get it working more than attached screenshot. Mostly only the scroll bar and the height of the browser is a bit messed up. If you could direct me it would be great. Thx
Code:
private int screenHeight { get { if (isVREnabled) return 600;
else return Screen.height - TRIED_OFFSET; } }
private int resourceBrowserBottomOffset { get
{
return TRIED_OFFSET + edgeSpacerSize + infoTextBoxHeight + resourceActionBoxHeight + resourceSelectionsUI.resourceSelectionBoxHeight + (boxSpacerHeight * 3);
}
}
private int resourceBrowserTopOffset
{
get
{
return 2 + edgeSpacerSize + filterBoxHeight + boxSpacerHeight;
}
}
Here is a screen, black area is the offset of my center screen (this is why I needed offset at first)
PS : I see we can mostly load presets. No intent on allowing cloth / morphs and our own non-vars presets ? I guess it can be done with UIAssist so, not sure its necessary