unity set sprite transparency
// You can set the transparency together with the color:
SpriteRenderer.color = new Color(1f,1f,1f,1f);
unity set sprite transparency
// You can set the transparency together with the color:
SpriteRenderer.color = new Color(1f,1f,1f,1f);
unity transparent sprite
If your PNG is already supposed to be transparent, but it shows a white background in the inspector, Click on it then under the inspector click on the checkbox "Alpha Is Transparency".
That will set the white background transparent.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us