Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - erre

Pages: [1]
1
NGUI 3 Support / Set UI Scroll View position
« on: November 02, 2017, 05:11:19 AM »
Hi,

I need to pre-set the UIScrollView position on a certain position without any scrolling animation. I've found this old post:

http://www.tasharen.com/forum/index.php?topic=14130.msg62910#msg62910

Here you recommend to have a look at UICenterOnChild script and see what it does. And that's ok. I've already use that when I needed to automatically scroll a list to a given position.
This time, however, I don't want any animation. Is it possible to do that without a custom script but interacting with yours?

Thank you.

Best regards,
Andrea

2
NGUI 3 Support / Center Scroll View On Child
« on: August 31, 2017, 03:14:19 AM »
Hi all,

I'm working using NGUI 3.11.4. I have a problem with CenterOnChild component.
I've attached it to a grid (under a scroll view panel).

In Awake() I spawn my object list and call CenterOnChild.Recenter() that initialize the CenterOnChild component.
In OnEnable() I refresh data in that page. After refresh I call CenterOn(myObjTransform).

The first time I enter in this page it doesn't work. After first time, everything works.

Is it the expected behaviour?

How can I fix this?

Thank you.

Best regards,
Andrea.

3
NGUI 3 Support / UIButton remains hovered
« on: August 30, 2017, 10:20:23 AM »
Hi all,

I'm working on a project using NGUI 3.11.4. I have this problem: when I press a button and, without release, I drag until I'm on a second button, if I release the second button remains in hovered state until I do something else.

I guess it is correct with mouse, but not with touch.

Am I wrong? How can I change this behaviour?

Thank you.

Best regards,
Andrea.

Pages: [1]