1
Support / Re: Accents in a tk2dTextMesh
« on: May 08, 2013, 10:43:23 pm »Quote
Are those characters in the font? They should work if they are in the font.
Oops...
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.
Are those characters in the font? They should work if they are in the font.
sprite.color is a property.
You will need to do this:Code: [Select]Color c = myTk2dsSprite.color;
c.a = 1.0f;
myTk2dsSprite.color = c;
The issue is that Input.mousePosition isn't getting scaled and offset for the camera when overrides are applied.
The easiest way to handle this is to use Camera.ScreenToWorldPoint to convert the screen space point from Input.mousePosition to world space. You can then simply use the value directly. You will get the values rescaled to the native resolution.