Hi everybody! I'm using UIPopupList and have run into a few issues.
First, 9-slice scaling doesn't seem to work for the drop-down list highlight. I should note I'm using 3 atlases: SD, HD, and UHD. Only SD renders correctly. All other UI components render correctly with these atlases, so I don't think the atlases are at fault. I think the issue is somewhere in this line of code:
// Scale the highlight sprite to envelop a single item
mHighlight
.cachedTransform.localScale = new Vector3
( x - (bgPadding.x + padding.x) * 2f + (hlsp.inner.xMin - hlsp.outer.xMin) * 2f,
fontScale + hlspHeight * 2f, 1f);
Second, the "Drop-down list" component is never destroyed if it uses animation. This line will never destroy the list:
Destroy(mChild, animSpeed);
This means each time the list is opened and closed, the list lives on and will leak memory. Destroying the list immediately works, but then it won't animate out.
I started debugging these issues myself but realized I should probably broadcast out first to see if anyone has dealt with this. Any ideas?
Thanks!