public void ShowMining(int Value) { //3 = ouro; 4 = prata; 5 = bronze; 6 = diamante; 7 = ferro string Messeige = ""; switch (Value) { case 3: Messeige = "gold"; break; case 4: Messeige = "silver"; break; case 5: Messeige = "bronze"; break; case 6: Messeige = "diamond"; break; case 7: Messeige = "iron"; break; } StartCoroutine(textoEvento.ShowMining(Messeige, Value)); textoEvento.SetLastMineral(Value); textoEvento.SetAllUp(); }