We're going to start the show with a callback to my tutorial on collecting player data where we first saw a CSVDownloader, here we see the script pop up again, and boy are we glad to see it. This script can download CSV's and convert them into any data type we desire and in this case that will be the TermData below.
Well well would you look at that! We are now approach by TermData, a cute little script that'll format our CSV data into something we can make sense of at runtime. Yes Yes Yes this is how we store the data at run-time but don't feel afraid to spice that up and edit it to fit your darkest desires!
To complete our runtime-loading-trifecta we have the final piece of the puzzle, the TranslationLoader which is ultimately responsible for sorting that CSV junk into our itsy-bitsy TermData trunk. And our first NEW NEW NEW script for this tutorial!
Hold the Phone Martha! What am I supposed to do with all this good-good data???? Well here you are handsome, a brand spanking new class dedicated to translating whatever nonsense we want to spew towards that player so we can be exactly sure they understand just how badly they got bAMBOOZE'D!
In the words of the late Henry Ford, "let's automate that shit!" This next sssssssssscript will subscribe any sister TextMesh component to a Translator delegate which can immediately propagate any changes to the user display language for the final tour de force de fucking delegate magic?? Can you say "lazy-load" five times fast???? YEah BUDdy!
1 Comment
|