A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
I know this is old topic, but since google brings me here I found it worthy that share my solution, which expanded element_wsc's one. Here is the...
_TexelSize is documented here. http://docs.unity3d.com/Manual/SL-PropertiesInPrograms.html
You can do it like this. using UnityEditor; static class EditorMenus { // taken from:...
Same problem here. I'm investigating why this happens for the last couple of weeks and with no luck.
Since this post comes up first on google... My solution is to extend SpriteRenderer which contains Color. It worked for me. public static void...
Need "using UnityEngine;" in the Chris Clark's code to work.
thank you 21n0, that is also working on windows.
For someone still troubled with this problem... This code worked for me. I used ComputeScreenPos() and _ScreenParams.xy. SubShader { Pass {...