Hi,
I want to take some text from a text asset and put it in MeshText object.
so i do:
var myTextAsset : TextAsset;
function Start () {
var myText = myTextAsset.text;
var textMeshCmp = GetComponent(TextMesh);
textMeshCmp.text = myText;
}
And it works fine unless there are some accents or ‘special’ characters in it .
I might understand it’s an encoding problem but i can’t figure out how to solve it.
Plz, lead me to the solution