Hello
I want to control the transparency of an object at runtime.
I’m using a simple code to change the alpha channel of the object, but it does not work.
Everything works fine in the editor though, if i change the alpha through the editor it works fine.
Every other answer i found here were about using a Transparent/Diffuse shader and controlling tha alpha using a range from 0 to 1 via code, but i’m using this shader and the correct range already.
Have you ever experiencing anything like this?
Thanks in advance.