Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity set sprite transparency

// You can set the transparency together with the color:
SpriteRenderer.color = new Color(1f,1f,1f,1f);
 
PREVIOUS NEXT
Tagged: #unity #set #sprite #transparency
ADD COMMENT
Topic
Name
9+5 =