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

Pages: [1]
1
NGUI 3 Support / Upgrade issue with trimmed sprites
« on: October 16, 2013, 11:24:58 PM »
I followed the upgrade guides to upgrade from 2.6 and everything went fairly smoothly.

It seems that the new "dimensions" for sprites include the trimmed pixels, where the old version using localScale did not. This causes the upgrade script to fail when converting sprites.

However, I feel that the Dimensions value should not include the trimmed pixels and work like it did before. Thanks!

2
NGUI 3 Support / Re: 2.7.0 Label Shrink to Fit Not Working
« on: September 12, 2013, 11:31:56 AM »
Yeah, but when it scales down to half the normal size it will wrap and that's not the desired effect we are looking for. I like the addition, but this change breaks functionality that already existed. Now we have to change each textbox this affects, and we don't get the exact result we had before.

PS. Thanks for the awesome and quick support.

3
NGUI 3 Support / Re: 2.7.0 Label Shrink to Fit Not Working
« on: September 11, 2013, 05:22:12 PM »
Thanks, that mostly worked. I didn't notice the max height value. We need it to constrain to 1 line though, is there any way we could get that feature back in?

4
NGUI 3 Support / 2.7.0 Label Shrink to Fit Not Working
« on: September 11, 2013, 03:37:31 PM »
It seems that shrink to fit for UILabel is no longer working. I have changed nothing in my setup, is there something I need to do to get it working with the latest version? Thanks.

5
NGUI 3 Support / Re: Deactivated objects drawing while scrolling
« on: November 26, 2012, 06:08:43 PM »
Yes, but these objects are already deactivated. Anyway, my solution was to move the objects behind something else, or way far off the screen. It's horrible to have to do that, but it worked. This is not an issue with culling or clipping. Some deactivated objects reappear while dragging, then disappear after stopping again. It wouldn't be so weird except that only a few objects do this, and they are always the same ones, with no obvious differences that I can see between them. It seems like a bug to me.

Sorry for the delayed response, but after the workaround I just forgot about this issue until today.

6
NGUI 3 Support / Re: Deactivated objects drawing while scrolling
« on: November 19, 2012, 09:09:24 PM »
As I mentioned, the clipping works perfectly. But, what you are saying is there is no way to have deactivated sprites within a draggable panel because it turns them on automatically while dragging?

7
NGUI 3 Support / Deactivated objects drawing while scrolling
« on: November 19, 2012, 01:02:27 PM »
I have a UIPanel with a UIDraggablePanel component. I have manually placed all objects to scroll in the scene, and all scrolling and clipping is working perfectly. However, when I started deactivating things dynamically in OnEnable in each object, things get strange. Some of the objects that are disabled, still render in the clipping rect, but ONLY while dragging. Also, it is only a few objects, but these objects are the same ones each time. There are quite a lot of objects I suppose.

Let me know if you need any more info. For now I've just set their depth to be behind a background sprite when I disable them, but I'd like to avoid that in the future. I'm using Unity 3.5.6 and NGUI v2.2.3.

Oh yeah, I thought I should mention the way I'm deactivating the objects: I've tried NGUITools.SetActive, gameObject.SetActiveRecursively, and also sprite.enabled. All these share the same results.

8
NGUI 3 Support / Re: UIPanel with clipping not displaying
« on: November 15, 2012, 07:36:23 PM »
Oh thank you TeMaH! That worked! As a side note, I also changed my project settings to use OpenGL ES 2.0. And I forgot to mention I'm using Unity Android Pro 3.5.6f4. And Aren, it's possible that my quality settings were set to Fastest but I don't remember. It works now anyway.

Thanks again!

9
NGUI 3 Support / UIPanel with clipping not displaying
« on: November 13, 2012, 12:31:18 AM »
My UIPanel does not display the objects inside. Then, when I scroll it with a UIDraggablePanel they all flicker with solid colors (sometimes they stick, but usually they just flicker). I went to the example scene to see what I was doing incorrectly, but it is doing the same thing. So, I reimported NGUI (I have no code changes to it), and no change, it is still messed up.

I downloaded NGUI from the Asset Store earlier today, where it says NGUI v2.2.3.

As a side note, the example atlas textures are extremely low resolution.

Please help! Tomorrow I am going to try using an older version and see what happens, though I'm afraid of downgrading as it will not be as easy as upgrading. :(

Pages: [1]