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 - Ernest

Pages: 1 [2] 3
NGUI 3 Support / Re: UIInput Events
« on: January 10, 2014, 10:42:04 AM »
I suppose you forgot to update the input inspector on this one... :)


And nope, i tried a web player build, it also happens... Ty

Here you are: (the quality is bad as shit, but as i do exactly what you describe above, it should be ok)

You can see the elements' scale problem for a 0.1s duration of tween scale, then i tried the elements' shake problem for a 1s duration, but it was not very effective with the buttons actually (but it happens with more complex elements!)

NGUI 3 Documentation / Re: UIInput
« on: January 07, 2014, 10:10:18 AM »
Yep i got that. My issue is, if i have a "Submit" function (doing any process) using UIInput.current.value, i have no problem by setting it in the OnSubmit field in the UIInput inspector (so when i press the return key) but it failed when i set it in the OnClick field in the UIButton inspector (for the reason you exposed). So there is no simple/inspector way to do my input related process by clicking on this button? (I have to get the label value in my "Submit" function instead of UIInput.current.value?) Thanks

EDIT: thanks for the trick below :)

NGUI 3 Documentation / Re: UIInput
« on: January 07, 2014, 05:03:24 AM »
So if i want to get the input field value in the onClick event of a button, how do i do?

Well the problem do occur when i recreate a scene as you did!
Just set the tween duration to 0.1, start play in the inspector and place your mouse hover the first button (before the scene is actually started), and sometimes (depend on mouse position i guess), the button(s) will be displayed bigger than they should until you move your mouse and "re-hover" them.
(I'll post a video if you can't recreate that behavior).

Yep exactly! With an UISprite on every object in the table.

All right, but that did not solve my problem... It's very noteworthy with a duration of 0.1!

Hi Aren,

I notice a weird behaviour when you have table inside a scrollview (vertical for me) inside a gameObject with a tweenScale script attached to it (for a pop-up process for example).
When this pop-up appear (scale 0 -> 1), if your mouse is hover one of the table's items, they shake (long duration) or they appear much bigger than they should until you click on one of them (short duration).
I think this is very easy to reproduce :)

I hope you can fix it!

NGUI 3 Support / Re: Tab system using toggle problem
« on: December 17, 2013, 07:50:36 AM »
Ok! Nice :) But why the Desactivate list is set public if we don't have to modify it manually?

NGUI 3 Support / Tab system using toggle problem
« on: December 16, 2013, 04:17:05 AM »
Hi, i'm using the uiToggle and uiToggledObjects components to create a tab system (like specified in the new documentation), and i'm having a little problem when i launch the game: i can see the content in all the panels. I set the "Starting state" to true in my first tab and i set his associated panel in the Activate list in uiToggledObjects (and the other panels and the desactivate list). The problem does not occure anymore when i click on another tab and i come back to the first one.
Thanks for your support!

NGUI 3 Documentation / Re: Tweens
« on: December 12, 2013, 05:37:04 AM »
Can't we have a OnEnable() event on UIPlayTween?

NGUI 3 Support / Re: UIDragObject problem: multi drag on the same object
« on: September 16, 2013, 02:57:34 AM »
Oh, when I said "the older version", i meant before all this drag problem correction (so not only the if statement but before the new UIDragObject file you gave to me)... I think the booleans added and the multiple attributions and comparaisons you're doing, could cause a delay on the drag.

NGUI 3 Support / Re: UIDragObject problem: multi drag on the same object
« on: September 12, 2013, 09:02:05 AM »
Again, do the test by yourself! I tested the old version => no lag (or quasi invisible), and with the new => a lag of about 100px with a high speed drag...

NGUI 3 Support / Re: UIDragObject problem: multi drag on the same object
« on: September 12, 2013, 04:51:19 AM »
Ok, this fix the duplication problem, BUT this generates an other issue...  >:( Now when you drag your sprite (on a tablet device mostly) with a certain speed, there is a lag between your finger and the sprite (depending of the drag speed)! So please, how this becoming a major problem (for me as for you i guess) could you take the time to really test it on a tablet device and fix these problems once for all? Thanks for your answers anyways  :)

Pages: 1 [2] 3