2D Toolkit Forum
2D Toolkit => Support => Topic started by: camelot10 on July 30, 2012, 05:41:16 pm
-
i made one atlas for all ingame fonts.
when i create textmesh - everything is fine. but when i trying to change font - everything goes pink.
cant fix this problem.
1. create textmesh
2. change font
3. pink squares and nothing help.
what i do wrong at this time?
p.s project attached.
EDIT: Please don't post projects in here. Use the private support forum when you need to distribute projects.
-
That is a bug. Thanks for reporting it. To fix it on yours -
in tk2dTextMeshEditor.cs, look for this line:
textMesh.renderer.material = allBmFontImporters[newId].material;
and replace with:
textMesh.renderer.material = allBmFontImporters[newId].data.material;
That should fix it.
p.s. I edited your post above to remove the project. If you want to post full projects, either use email or the private support forum. Thanks.