I’d like to ask how to change the Drop-down List position.
I create a gameobject attached NGUI UIPopup List component.
I’ve thought when that gameobject is tapped, a Drop-down List popup is created at the same hierarchy as the gameobject and suitable position.
However, a Drop-down List popup is created at just below UIRoot (not same hierarchy as the gameobject), and its position is away from the gameobject.
Could I change Drop-down List popup position or how could I solve this problem?
I use unity5.4.4p1 and NGUI 3.11.4.
Thank you.
You’ll have to contact the NGUI support for this one.
I’d like to do so, but I can’t find the NGUI support.
I tried to post this one at below, but I couldn’t.
Do you know how to contact the NGUI support?
Although it’s temporarily, I’ve solved this problem.
At the Show() method in the UIPopupList.cs, the original code is as below.
var pTrans = separatePanel ? ((component)mPanel.GetComponentInParent() ?? mPanel).transform : mPanel.cachedTransform;
I’ve changed this code to as below.
var pTrans = mPanel.cachedTransform;
Then, a Drop-down List popup is created at the same hierarchy as the gameobject attached UIPopup List componnt and suitable position.