How to add a shader to a 2D game object

I am new to shaders so I have no doubt the issue is with me so I was wondering if you could lend some help.

I created a dissolve shader, then added that shader to a material I created. However when I add that material to my game object’s sprite renderer, the object doesn’t dissolve, it simply disappears.

I have searched google, the unity docs and can’t find the answer that makes the object dissolve into nothing as opposed to disappearing.

Any ideas?

Most shaders of that type of a value for the level of dissolve (so like 50% dissolved, or 20 dissolved, etc). Have you hooked up that value to a script?

I’ll check that out. Still learning about these. They look great once they are mastered, at least in the videos I have seen.