Hi everyone,
I experience a weird issue when trying to apply a color to a GUITexture object. With some color sets, my original texture remains white, while it is properly colored with other color sets.
-
In a empty scene, create a new GUITexture object. Set its transform values to 0.5;0.5 so that it appears in the middle of the screen
-
Assign my texture in attachment to the post to the GUITexture object. It is a simple transparent white spaceship with an alpha layer
-
In the color inspector, apply color (255,0,0,255) to the GUITexture. The GUItexture appears in red
-
In the color inspector, apply color (128,128,255,255) to the GUITexture object. The GUItexture appears white, while texts using the same color appear correctly in purple. Playing around with the inspector show that other color sets properly color the ship.
Is it because of my texture file? Maybe Unity does not combine well GUITexture and color tints.
Thanks
Mat
326197–11502–$defaultfleet_119.rar (415 Bytes)