- Home /
Change gui text based on config file
i am building a player that contains an object and some gui text. i want to change the text based on the language that the user is selecting. how can i setup the player to load some gui text and some gui texture based on a text file (xml probably) ?
how can i do that in the unity project ?
Comment
Best Answer
Answer by DaveA · Oct 31, 2011 at 07:54 PM
http://msdn.microsoft.com/en-us/library/system.io.file.aspx
http://msdn.microsoft.com/en-us/library/29kt2zfk.aspx
http://support.microsoft.com/kb/815813
http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.deserialize.aspx
can you post a short example ? doesn't matter what it does. I just want to see how you take a variable from the outside and "play" with it inside unity project.
Your answer
