Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: NJ_kung on August 23, 2012, 12:30:27 AM

Title: [In Example 12 - Chat Window] if I want to use UILocalized with it....
Post by: NJ_kung on August 23, 2012, 12:30:27 AM
In [Example 12 - Chat Window]

If I want change text "Press Enter to start typing" with use UILocalized

How I do it?

Title: Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
Post by: ArenMook on August 23, 2012, 02:01:58 AM
Just localize the UIInput's label.
Title: Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
Post by: NJ_kung on August 23, 2012, 02:34:05 AM
I have try on it but when type some text and enter

It return to text that set on unity :)


Try on example 12 scene

1)Drag Localized prefab to scene

2)Drag UILocalized script to UIInput's label and type info on key box

3) run it press enter and type some Text and you will see problem that I tell
Title: Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
Post by: ArenMook on August 23, 2012, 06:26:26 AM
This script should work.
Title: Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
Post by: NJ_kung on August 23, 2012, 08:19:59 AM
Cool

It work !

Big thank ;D