Hi guys…i have a little problem… i try to changes my material alpha cutoff value. but i don´t get it work…
what i do wrong??
renderer.material.SetColor("_Cutoff",Color ( 1.0, 1.0, 1.0, 0.5 ));
Hi guys…i have a little problem… i try to changes my material alpha cutoff value. but i don´t get it work…
what i do wrong??
renderer.material.SetColor("_Cutoff",Color ( 1.0, 1.0, 1.0, 0.5 ));
Try:
renderer.material.SetFloat ("_Cutoff", myValue);
Yesss it´s work now…thanks!!