I want to create a scratch-card-like effect in new Unity UI's new Image tag. I know it's possible with setPixels
, but that's prohibitively expensive on mobile devices.
Something like this:
I'd like the user to be able to drag on any part of the image to "scratch off" the top layer and reveal the content underneath it.
How can I do this?