Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

change sprite of gameobject unity

gameObjectName.GetComponent<SpriteRenderer>().sprite = spriteName;
 
PREVIOUS NEXT
Tagged: #change #sprite #gameobject #unity
ADD COMMENT
Topic
Name
6+6 =