Open full view…

SetLanguage broken?

Fri, 10 May 2019 11:06:58 GMT

Hi, I am trying to get the active language from the Localization-GameObject with this command in a cs-script: GameObject.FindObjectOfType<Localization>().ActiveLanguage; The string returns "", even if I set it via "SetLanguage"-command in a Flowchart. The localizations work well, after I added my de and en-columns, but I can't get the ActiveLanguage. I need this to add a localized Say-command (for Audio-Files obviously) Is this a bug? Or did I get wrong, what the command does? Cheers Jamirokwai