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

Pages: [1]
1
Hi,

After we updated to latest version of NGUI (3.9.8) we encountered a weird issue. When we change the current language (Localization.language) , the text of the current selection of some UIPopupList (which has localized items in it) becomes invisible. When we click the PopupList we can see localized items correctly, but the text of the selection is empty. When we select one of the items from the dropdown, the selected text becomes visible again. (We use Unity 4.7.1)

I hope I could explained it clearly. Thanks.

2
NGUI 3 Documentation / Re: Localization system
« on: October 11, 2014, 02:48:58 PM »
Hi,

I have just switched from 3.4.9 to 3.7.3, but I couldn't get the old style localization work. I couldn't find any documentation on the old style localization. Someone here suggest putting the language files to the Resources folder, but still doesn't work. It says  "Localization key not found: 'some_key' "

I set Localization.language = "English"; in awake function and I have "English.txt" in the Resources folder. Is there anything else that I should do? English.txt consists of key = value pairs. Also it was working in 3.4.9 because there we could set all the language files in editor through a public variable of Localization.cs. But now, there is no such list and it can't load the file from Resources.

Thanks.

EDIT: Ok , I found it. I had to delete the file NGUI/Examples/Resources/Localization file to fix it. I think you should put this info to the documentation.

3
NGUI 3 Support / Need a little help for Arabic support
« on: July 28, 2014, 04:03:00 PM »
Hi,

I'm using this asset ( https://www.assetstore.unity3d.com/en/#!/content/2674 ) to transform text to arabic form.
But, then there is a problem with color tags such as [AABB44]text[-]  which becomes right-to-left after using the above plugin. So how can I reach the "text" inside those symbols so that I can apply the plugin only to that text. I think I need to modify somewhere in NGUIText.cs , but I can't find.

Thanks.

4
Did I mention that the exact same code works in Ngui 3.4.9? After upgrading to Unity 3.5.1, I have received the EXC_BAD_ACCESS as shown in the attached image. It can't even reach the third party code. My guess is that it's related with I'm using javascript instead of C# and you are working and testing on C#. Maybe that's why you didn't notice it.

5
Another bug in 3.5.x is that when I click a button that calls a method in which I have a third-party method call (like Everyplay and Chartboost), it crashes when I touch that button on iPhone/iPad, which does not happen in 3.4.9. That's why I have switched back to it.
Note: I'm using Unity 4.2.2f1, javascript.

6
Hi,

I have just found an interesting bug in 3.4.9. When a method has "yield WaitForSeconds("1.0f")" in it, then that method is not listed in the dropdown of UIButton's Click method attribute.

7
NGUI 3 Support / Re: [3.5.1] Localization problem
« on: March 01, 2014, 06:03:54 AM »
So, you are saying that a separate txt for each language is no longer supported? (Txt files with key = value pairs)

If we go to csv route we have problems with labels that contains "," such as as "10,000 cash" , because comma means new column.

Therefore, it would be great if we can have separate files for each language as before.

8
NGUI 3 Support / [3.5.1] Localization problem
« on: February 28, 2014, 05:11:16 PM »
Hi,

In NGUI 3.5.1 , the "knownLanguages" property became static, so we cannot drag and drop our txt files to this list. What is the proper way of localization with separate txt files?

9
NGUI 3 Support / Depth issues with NGUI 3.0.8
« on: December 28, 2013, 12:34:48 PM »
Hi, I have upgraded from 3.0.7f3 to 3.0.8. The first thing I have noticed is that it has some problems with depth ordering. Some sprites were drawn on top of others although they have a lower depth values. Bots sprites are on the same panel and share the same atlas. Just FYI.

Here is more info, if that helps:
-The problem seems to occur with the sprites that are disabled at start and became enabled later.
-The problem vanishes when I interact with the UI in runtime ( enabling or disabling the checkbox for example)

Regards.

10
NGUI 3 Support / Re: Scroll View is not working on a modal (Ngui 3.0.7)
« on: December 08, 2013, 06:02:29 AM »
Thanks. The problem turned out to be my misuse of scroll view. I have solved it by making UIScrollView the child of UIDragScrollView.

11
NGUI 3 Support / Scroll View is not working on a modal (Ngui 3.0.7)
« on: December 07, 2013, 07:02:22 PM »
Hi,

I have a modal background with a big collider to prevent pressing buttons. Then, I open a dialog with a uidrag scroll view over the modal. But, scrolling does not work. I think the problem is related with the depth of my background sprite. When I set its depth to 0 (zero) it works. If it's larger than zero it does not work. I have increased the scrollviews depth big enough, still doesn't work.

12
NGUI 3 Support / Re: Ngui 3.0.6 does not ignore TimeScele anymore?
« on: December 03, 2013, 03:29:51 PM »
Thanks, I think google missed to index that topic :(

13
NGUI 3 Support / Ngui 3.0.6 does not ignore TimeScele anymore?
« on: December 03, 2013, 01:52:22 PM »
Hi,

I have just upgraded from 2.6.x to 3.0.6f7 . Now, my pause menu does not work as expected. I cannot press the ImageButtons when the game is paused. Also the button does not change sprite on hover. Is there any new setting to make NGUI to ignore TimeScale? Thanks.

14
NGUI 3 Support / Re: Huge spikes on UIPanel.LateUpdate
« on: August 07, 2013, 10:56:48 AM »
There is no color tweening in the UI. There are only 5 UILabels, the text of which are updated every frame. (score, speed, distance, combo, high speed). I can really notice the game stutters when the spike happens.

15
NGUI 3 Support / Huge spikes on UIPanel.LateUpdate
« on: August 06, 2013, 02:06:07 PM »
Hi,
First of all, thanks for this great tool. I have been using it for almost 1 year now.
Recently I have switched to Pro version of Unity and run the Profiler. I have noticed some huge (17ms) spikes caused by UIPanel.LateUpdate (GC.Collect).

My GUI has nothing fancy. There are some HUD elements and some UILabel, the text of which is updated every frame. (Current speed of the car, etc.)






I'm using Unity 4.2 Pro and NGUI 2.6.4
So, what can I do to reduce this spikes? Or is it already a know issue?

Thanks

-Soner

Pages: [1]