Event to detect when language changes
Posted: Tue Jun 16, 2020 6:23 pm
Hi!
I'm working on a Menu for a game, and I'm using TextTables and creating some scripts that converts text in (For example) TextMeshPro to the table field value, if match any.
That works okay, the trouble is, that I'd like to make this little scripts subscribe to some kind of Event, to detect when the user changes the language. That way, I would re-retrieve the values of the field with the new language.
Can I subscribe to an event that is fired when the language is changed? Is there such event? (And also, if i'm over complicating creating this scripts let me know!)
I'm working on a Menu for a game, and I'm using TextTables and creating some scripts that converts text in (For example) TextMeshPro to the table field value, if match any.
That works okay, the trouble is, that I'd like to make this little scripts subscribe to some kind of Event, to detect when the user changes the language. That way, I would re-retrieve the values of the field with the new language.
Can I subscribe to an event that is fired when the language is changed? Is there such event? (And also, if i'm over complicating creating this scripts let me know!)