Hi all,
i have 2 signs with 2 different texture. They are in the same place, but only one is visible. One is in Italian language, the other in English.
There is a way to hide the one or the other When the player change the language in the menù game?
Thank'you
Grazie
;-)
Comments
Put this into an Update () function:
int language = GameObject.FindWithTag (Tags.persistentEngine).GetComponent <Options>().optionsData.language;
if (language == 0)
{
// Change texture to default
}
else if (language == 1)
{
// Change texture to translation
}