I want to use the Unity Compound control example at the top here: file:///Applications/Unity/Unity.app/Contents/Documentation/Documentation/Components/gui-Extending.html (Which needs a curly bracket in it by the way) to control the opacity of a shader. Can anyone point me in the right direction? Thanks.
asked Jun 06 '10 at 03:23 PM
It's pretty easy:
I realize this sets the color of the shader every frame, so it's not completely efficient, but I figure I'll leave the optimization up to you. :P
answered Jun 08 '10 at 11:59 PM