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.


Messages - 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 / Re: Center Scroll View On Child
« on: August 31, 2017, 11:40:03 AM »
Ok, it makes sense to me. I'll try!

Thank you.

3
NGUI 3 Support / Re: UIButton remains hovered
« on: August 31, 2017, 11:10:24 AM »
Fixed, thank you!

4
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.

5
NGUI 3 Support / Re: UIButton remains hovered
« on: August 31, 2017, 02:23:28 AM »
Sorry, I forgot to write that I have this only in build (Android, not tested iOS).

It happens also when I have two panels: one on top and on under the first. If I close the panel on top clicking a close button, the button located under the close button on the second panel (the which one that was behind) remains in hovered state. I can't figure out why.

Do you suggest to turn off mouse button in build?

Thank you.

6
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]