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

Pages: [1]
1
NGUI 3 Support / Re: // UIGrid leaves gaps after reposition //
« on: November 05, 2014, 08:33:53 AM »
Thanks!

2
NGUI 3 Support / Re: Seam appears when tiling
« on: November 03, 2014, 08:17:37 AM »
Looks weird.

If there were seams in a still stage , it could've been related to close borders proximity but in your case it seems to be different.
Although you can try to increase canvas size of your icons , so that there were more space in image's edges.

3
NGUI 3 Support / // UIGrid leaves gaps after reposition //
« on: November 03, 2014, 07:25:18 AM »
Hi there ,

Well the thing is that i've got a scrollable panel implemented via UIScrollView and UIGrid. I also have a script adding instantiated elements ( buttons ) to the grid. Before adding new set of elements i remove current elements with UIGrid::RemoveChild method and then destroy removed elements. Once new elements are added , i call UIGrid::Reposition method.
The problem is that there are weird gaps left in grid once new elements are added...
Any tips are greatly appreciated.

Thanks!^^

4
NGUI 3 Support / Instant UISprite texture update.
« on: May 28, 2013, 02:56:10 PM »
Hey everyone!

I'm trying to implement some kind of custom version of Image Button : when user clicks it , it's beckoming "clicked" until a certain event takes place.
So i've got a OnHover and OnPress methods reimplemented...the only problem is that even though i have "targetSprite = stateTexture.name" , it only got updated (redrawn) when OnHover and OnPress (or other GUI events) take place ( event though new sprite name is assigned ) ! Could anyone plzzz suggest any solution for it ?:)

Thanks.

5
NGUI 3 Support / Re: Stucked with making simple tween interaction
« on: May 24, 2013, 08:04:24 AM »
Yeah thx, i've read about it.
The thing is that it doesn't seem to work with ngui.I mean , when it's just unity camera - it works great.
Once i add NGUI's gui setup it's just won't seem to call this event...

6
NGUI 3 Support / Re: Stucked with making simple tween interaction
« on: May 24, 2013, 05:00:13 AM »
Thanks a lot for the answer.
Well , i think the real problem is that OnHover event is being triggered continiously...so my menu animation looks more like shaking.I wonder if there is kind of OnMouseEnter trigger.

7
NGUI 3 Support / Stucked with making simple tween interaction
« on: May 23, 2013, 03:14:48 PM »
Hey guys,

I'm pretty new to unity and ngui and I'm kind of lost...i'm trying to animate a menu : when it's "OnHoverTrue" it's got to play forward..."OnHoverFalse" got to bring it back to it's initial position.I've got two UIButtonTween scripts and TweenPosition on an object but it's doesn't work right.I'd be happy to get any advice, thanks!

8
Weird...am i the only one ? :(

9
Hey everyone.
I've got the following problem , as i work on a project NGUI dissappears from the package list from time to time.I used to make a new project , download NGUI from asset store , copy old scene etc...But i'm tired of it and i'm sure there is a better way to fix it.

I could've "Import Custom Package" but i can't find the NGUI's package alone...

Thanks a lot!

Pages: [1]