I want to set the transparency of the variable called texScar
how can i do this, how can i set the alpha of the texture?
//Drag your script into the texture game object, and drag and assign texture into yourTexture in Game object Hierarchy in the Unity3d.
var yourTexture : GUITexture;
yourTexture.color.a = 0.0; //1 is maximum
hmm okay i think it set but it has no affect, how to check if it has affect in inspector?
Make sure that your material is using a shader that supports alpha transparencies.
I think you canβt view it in Inspector you must run the game first, and you can make the alpha value a public variable so you can tweak it in Inspector and see the result in Game window.
Got it thank you guys