I would like to be able to change the “Blending Mode” of my materials via script. I can do this with a normal Lit/Unlit shader by setting the “_Blend” float, but there it seems there is no such float in the sprite shaders. Is there a way to do this, or will I have to write a custom shader?
You can edit the script/shader in Visual Studio and see what the variable name is for this script. If it is supported. Otherwise I suggest to have 2 materials you swap out