1
Support / Re: Error in tk2dTextGeomGen when unsupported glyph is found from string
« on: January 03, 2014, 09:44:30 am »
Thanks! Problem solved
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
public tk2dTextMesh tk2dText;
void SetName(string playerName) {
if(tk2dText.HasUnsupportedGlyphs(playerName)) {
// render name with system font
...
} else {
// all glyphs supported -> render name with tk2dTextMesh
tk2dText.text = playerName;
tk2dText.Commit();
}
}