AlphaToMask by toggle

Hi,
I would like to add a toggle to the editor UI that allows me to turn on/off the AlphaToMask property. How would I do this?
I'm using a custom Unlit shader template.
Cheers.
I would like to add a toggle to the editor UI that allows me to turn on/off the AlphaToMask property. How would I do this?
I'm using a custom Unlit shader template.
Cheers.