Link to home
Start Free TrialLog in
Avatar of James Hancock
James HancockFlag for United States of America

asked on

In unity, how are transparent image files made transparent in the game?

Hi,

In my game I use a transparent check-mark to indicate when a part of a puzzle is correct, that has a transparent background, shown below.



User generated image

If I insert it into my scene, it has a solid, white background.

What do I need to do in C# to make the game objects beneath it visible?

Would a line-renderer look this nice?

objects beneath it like this..

ThanksUser generated image





SOLUTION
Avatar of ☠ MASQ ☠
☠ MASQ ☠

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of James Hancock

ASKER

Thanks

The image appears to be "check-mark.jpeg"

Why does it have transparent appearance in 'preview" if there's no transparency?


Well spotted on the watermark!


Maybe I should just use a regular linerenderer?

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial