Answer the question
In order to leave comments, you need to log in
How can the prefab display the desired image?
I have a prefab to which the script is attached, the script has variables in which the names of the sprites are placed, that is, which sprite should be displayed on the prefab.
How to display the desired image in the prefab based on the fact that he knows the location of the image?
For example, I need to animate how the cube rotates and I have 20 pictures of it, at the right time I need the right picture to be displayed so that there is a twisting effect.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question