2D Toolkit Forum
2D Toolkit => Support => Topic started by: vivaldi on October 09, 2013, 06:16:57 pm
-
I try to change sprite color:
sprite.color = new Color(71,71,71,1);
but it's doesn't work.
How can I change sprite color?
Thanks
-
You should refer to the docs for Color, the range is 0..1 not 0..255.
-
ok, Thanks, i missed this.
But how can I make sprite grayscale?
-
You cant. You'll have to use a shader for that.