私はこのコードを持っています:
public UILabel Error;
void OnRegister(GameObject g)
{
if (Error.text.Equals("That e-mail address is in use. Use password recovery if you forgot your password."))
{
Error.text= "Inserisci un indirizzo di posta elettronica (email) valido. Questa operazione e’ importante per recuperare la tua parola chiave (password), nel momento in cui l’hai dimenticata.";
return;
}
}
私がやりたかったのは、文字列がUILabelに入力されたとき、ボタン(関数OnRegisterを持つ)が文字列をイタリア語に翻訳したときです。お手伝いありがとう :)