Change field value in a script when changing langage

1 month 1 week 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,



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

Time to create page: 1.111 seconds
Template by JoomlaShine