Welcome,
Guest
. Please
login
or
register
.
September 15, 2024, 03:00:57 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Forcing a UILocalize component to localize
« previous
next »
Print
Pages: [
1
]
Author
Topic: Forcing a UILocalize component to localize (Read 1486 times)
rain
Jr. Member
Thank You
-Given: 2
-Receive: 4
Posts: 79
Forcing a UILocalize component to localize
«
on:
February 20, 2014, 09:03:18 AM »
Hi!
Before 3.5.0, i could force specific UILocalize script instances to relocalize themselves by calling .Localize() on them.
This seems to have disappeared in the latest version, what's the new approach?
Thanks in advance!
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Forcing a UILocalize component to localize
«
Reply #1 on:
February 20, 2014, 09:19:19 AM »
UILocalize loc
=
GetComponent
<
UILocalize
>
(
)
;
loc
.
value
=
Localization
.
Get
(
loc
.
key
)
;
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Forcing a UILocalize component to localize