Author Topic: [In Example 12 - Chat Window] if I want to use UILocalized with it....  (Read 1910 times)

NJ_kung

  • Guest
In [Example 12 - Chat Window]

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

How I do it?


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
« Reply #1 on: August 23, 2012, 02:01:58 AM »
Just localize the UIInput's label.

NJ_kung

  • Guest
Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
« Reply #2 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
« Last Edit: August 23, 2012, 02:56:22 AM by NJ_kung »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
« Reply #3 on: August 23, 2012, 06:26:26 AM »
This script should work.

NJ_kung

  • Guest
Re: [In Example 12 - Chat Window] if I want to use UILocalized with it....
« Reply #4 on: August 23, 2012, 08:19:59 AM »
Cool

It work !

Big thank ;D