Author Topic: Localize without UIRoot?  (Read 3900 times)

ranilian

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 24
    • View Profile
    • Industry Corporation
Localize without UIRoot?
« on: June 28, 2012, 03:59:34 PM »
Hey Aren,

Changing the language field of Localization doesn't seem to update my UI at all. It only updates once in the beginning of the level but never calls OnLocalize again.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localize without UIRoot?
« Reply #1 on: June 29, 2012, 02:55:34 AM »
Eh? Works fine.

ranilian

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 24
    • View Profile
    • Industry Corporation
Re: Localize without UIRoot?
« Reply #2 on: June 29, 2012, 04:37:04 AM »
I had to call NGUITools.Broadcast to broadcast the message to all the objects in the scene since UIRoot.Broadcast does not call if there is no UIRoot class.