How can I set variable "Alpha cutoff" in material component?
Pls, take a look on the screenshot below.
I tried to drag and drop that into a FSM state but I could't find any relative variable, something like "_Cutoff", "Alpha", "Material Float"
this script seems to work but it doesn't
renderer.material.SetFloat("_cutoff", 0.5f);