Change field value in a script when changing langage

More
4 years 9 months ago #4059 by DebugDOTLog
Hello Frank,

So I'm currently working on a dynamic Quizz script that receive text and audio from a server. The thing is I need to be able to change those values that are assign in the Quizz Script (values next to the red line on the img below).
So I was wondering if it was possible to change those values (texts and AudioClips) that are set in the Quizz prefab depending on the langage I set at some point ?

NB : The Quizz works in such a way that there is only one AudioSource and one TMProUGUI for multiples AudioClips and strings and depending on the result that the user gets, some are set and other are not.




Hope that makes sense,

Cheers,

Baptiste

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds
Template by JoomlaShine