I’m trying to put some buttons up using the Unity GUI. I have it working as I’d hoped, except that the buttons aren’t pixel perfect. They’re getting blurred a bit as if they had been scaled, but they aren’t.
Here’s my code:
GUI.DrawTexture(Rect((Screen.width - 230),(Screen.height - 110),50,50), test_button, ScaleMode.StretchToFill, true, 0);
The images are 50x50 and I"m printing them to the screen at 50x50…
Any ideas on what I’m doing wrong would be greatly appreciated!