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

Pages: [1] 2 3 ... 6
NGUI 3 Support / UIPopupList error message
« on: July 09, 2014, 07:09:39 PM »

Sometimes I get this error:
NullReferenceException: Object reference not set to an instance of an object
UIPopupList.GetHighlightPosition () (at Assets/NGUI/Scripts/Interaction/UIPopupList.cs:447)
UIPopupList+<UpdateTweenPosition>c__Iterator2B.MoveNext () (at Assets/NGUI/Scripts/Interaction/UIPopupList.cs:472)

when I open a uipopuplist. It doesn't seem to cause any problems as the correct item is selected and it all looks fine, but just wanted to report it anyways. I can't seem to find a reliable way to repro it as the same popup will work without the error most of the time.


Other Packages / Re: Tasharen Fog of War
« on: July 08, 2014, 02:00:47 PM »
Ok that would be great. The game is done, so just have to get the android version ready for release :)

Other Packages / Re: Tasharen Fog of War
« on: July 08, 2014, 01:33:46 AM »
Hi, I am trying to use the FOW image effect on Android builds but it doesn't seem to show up. On iOS/Standalone the image effect based approach works fine, but on Android it just doesn't appear. Anything I should be doing different on Android or any special settings? I am using a Nexus 7 (2012) tablet.

You're right, my player settings were set to Automatic for graphics type. So on the mini retina it must have been using ES3. Thank you.


My scroll view contents aren't clipped within the panel when I scroll (they just all appear over top of the rest of the UI). When the scrolling stops the items that are completely outside of the panel disappear and only the items inside the panel remain (but are not clipped if partially outside of the panel). This is only happening on retina devices (iPad mini retina), not on non-retina devices or in the editor.

I have the latest ngui (just updated yesterday).

I remember this happening sometimes in ngui 2, but this is the first time I've seen it happen on 3x.

My unity is 4.5.1.


Other Packages / Re: Tasharen Fog of War
« on: May 18, 2014, 05:26:52 PM »
Bump.. anyone has any iOS experience with the FOW plugin?

NGUI 3 Support / Re: Dynamic labels and soft clipped panels
« on: May 14, 2014, 11:37:59 PM »
Yes, all other sprites work properly and are nicely clipped. Just the labels don't appear at all with soft clipping on (iOS/Web player), but they work fine on PC standalone. This also happens in builds, not just the editor.

The iOS setup is for Arm7.

NGUI 3 Support / Re: OnCustomSort example?
« on: May 14, 2014, 12:47:42 PM »
Ok thanks for the example, that makes sense.

NGUI 3 Support / Re: Dynamic labels and soft clipped panels
« on: May 14, 2014, 12:46:14 PM »
Ok, most of the fonts say "Unlit/Text" and the ones in the scrolling panel say "Hidden/Unlit/Text 1"

NGUI 3 Support / Re: Dynamic labels and soft clipped panels
« on: May 13, 2014, 09:54:20 PM »
I have those 3 shaders installed, but how do I know which text shader is being used on the font? When I select the label it shows None as the material and if I select the Font in the project hierarchy it won't let me edit the material or shader (which looks like it's set to GUI/Text Shader)

NGUI 3 Support / Re: OnCustomSort example?
« on: May 13, 2014, 09:41:36 PM »
Sorry, I meant is there an example of how to use this functionality? I'm not familiar with how to structure this kind of function, so I don't even know where to start with creating the custom sort.

NGUI 3 Support / Re: OnCustomSort example?
« on: May 12, 2014, 08:23:22 PM »
The int is just on a script on the object that is to be sorted. What are the 2 transforms that the function has to accept?

NGUI 3 Support / Re: Dynamic labels and soft clipped panels
« on: May 11, 2014, 10:17:16 PM »
This also doesn't work on Web Player platforms. Any chance this might have been addressed in the latest release?

NGUI 3 Support / OnCustomSort example?
« on: May 10, 2014, 10:48:14 PM »
Hi, I'd like to use the OnCustomSort delegate of UIGrid, but I'm not sure how it works. Are there any examples of this?

I'd like to sort using an int value.

Thanks Nicki and ArenMook. That was it exactly. I usually use AddChild for all ngui items but for some reason was trying to use an object pooling system for this one prefab... Must have been a leftover from the 3d text mesh i was using before.

Pages: [1] 2 3 ... 6