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

Pages: [1]
1
NGUI 3 Support / Re: Localization Error
« on: August 03, 2014, 08:32:49 AM »
Hi ArenMook, thanks for the reply, i have the localization scripts, i deleted the localization.txt and the resources folder, and i'm using a .csv file, when i import your txt it works good(i can get the keys from your txt) but it doesn't work with .csv and i don't know why : /

Okey i fixed it by putting this: Localization.LoadCSV (myCSVFileVariable);
Now it loads the csv in the editor too, it's a little strange but it works so yeah :)

Thanks anyways!

2
NGUI 3 Support / Re: Localization Error
« on: August 02, 2014, 06:53:50 AM »
You don't have any localization script because you deleted it? Not sure why you did that. Did you mean you deleted Localization.txt? That's the actual data file where localization is stored, and the file you should be updating. Copy the contents from your CSV into that file. The localization file won't get reloaded until you hit Play then stop the game.

Hi ArenMook, thanks for the reply, i have the localization scripts, i deleted the localization.txt and the resources folder, and i'm using a .csv file, when i import your txt it works good(i can get the keys from your txt) but it doesn't work with .csv and i don't know why : /

3
NGUI 3 Support / Localization Error
« on: August 01, 2014, 08:26:49 PM »
Hi, i have all updated (NGUI and Unity) to the latest version, i'm working with a localization file for my game in .csv
It was working perfect, but i don't know if it was the version control or the update, now it's not loading properly.

I debugged the localization (internal script) and it's getting the file, but in the UILocalize script it shows a x, it was working perfectly, maybe i'm missing anything but i bet it's a bug.

I don't have any localization script more ( i deleted the one from ngui folder )

So i don't know what more i need to do, i renamed it, deleted it, redownload it check it for errors but nothing it's wrong.

Cheers

4
NGUI 3 Support / Re: [Bug] UI Localization
« on: March 16, 2014, 01:18:04 PM »
Ah, so i can't leave it null if i don't have translations, i need to put something, right?
EDIT: Okay thanks ArenMook, i fixed it, but i will leave as suggestion that you can have empty strings.

5
NGUI 3 Support / [Bug] UI Localization
« on: March 16, 2014, 11:24:08 AM »
Hi there, the script of localization give me this error:



I tried a lot of times, even modifying the script but i can't get it working.
Have a nice day.

Here is my file for Localization.csv :

6
NGUI 3 Support / Re: UIGrid items not rendered correctly
« on: December 27, 2013, 06:06:23 PM »
I'm suffering of this too, i have a grid with one button, the others button are dinamically added, the first time it works flawless, but when i deactive and active it even if i put Reposition(); it doesn't work properly.
I was trying all the day to fix this thing.

Perfect: https://db.tt/sljNQBWj
Error: https://db.tt/tzQOQdWu

7
NGUI 3 Support / Re: (!!!) Improving NGUI: Voice your opinion
« on: December 15, 2013, 02:10:57 PM »
New Validation system for UILabel , i created one specifically for input of the names, without symbols but with accents supports:

  1. else if (validation == Validation.NameWithSymbols)
  2.                 {
  3.                         char lastChar = (text.Length > 0) ? text[Mathf.Clamp(pos, 0, text.Length - 1)] : ' ';
  4.  
  5.        
  6.                         if (ch >= 'a' && ch <= 'z')
  7.                         {
  8.                                 // Space followed by a letter -- make sure it's capitalized
  9.                                 if (lastChar == ' ') return (char)(ch - 'a' + 'A');
  10.                                 return ch;
  11.                         }
  12.  
  13.                         else if(!(ch >= '0' && ch<= '9') && ch !='?' && ch !='!' && ch !='<' && ch !='>' && ch !='\u00BF'
  14.                                 && !(ch >= '\u007B' && ch <= '\u00BF') && !(ch >= '\u0020' && ch <= '\u0040') && ch != ' '
  15.                     && !(ch >= '\u02B0' && ch <= '\u036F')
  16.                                 && !(ch >= '\u005B' && ch <= '\u0060')){
  17.                         return ch;
  18.                         }
  19.                 }

8
NGUI 3 Support / Bug in the UILabel Script
« on: December 15, 2013, 12:18:19 PM »
Hi, is there a bug in the validation of the name, if you write for example "Hello Hi" and return to the middle with the keyboard arrows, you can put more than one space, it's applying to the first of the string too.
The solution is this one:

  1. char lastChar = (text.Length > 0) ? text[Mathf.Clamp(pos, 0, text.Length - 1)] : ' ';
  2. char nextChar = (text.Length > 0) ? text[Mathf.Clamp(pos + 1, 0, text.Length - 1)] : '\n';
  3. char middleChar = (text.Length > 0) ? text[Mathf.Clamp(pos - 1, 0, text.Length - 1)] : '\n';
  4.  
  5. else if (ch == ' '){
  6. // Don't allow more than one space in a row
  7. if (lastChar != ' ' && lastChar != '\'' && nextChar != ' ' && nextChar != '\'' && middleChar != ' ') return ch;
  8. }

9
NGUI 3 Support / Bug in Scale Tween
« on: December 02, 2013, 04:47:10 PM »
Hi, i think i found a bug related to the scale in the tweeners, if i put the origin scale at 0,0,0 to 1,1,1 for example the sliders etc... aren't positioning good, but if i put 0.1,0.1,0.1 to 1.1.1 it works perfect.
If you want i can provide images.

Cheers!

Pages: [1]