Change Sprite

hello, i have over 100 sprites and i want to be able to change to them, i’ve found some examples on how to do it but they all tell you to use a public sprite variable, should i make over 100 variables then? or should i make over 100 prefab use instantiate and destroy it? what should be the best approach?

sorry for my bad english! :c

You could create a public sprite array and then drag and drop all your 100 sprites into that array… Would that work for you?

oh i didnt knew you could do that thx!, now the only problem is that it doesnt add in order(my spriites are enumerated), guess that i have to manually add one by one

Or you could add them all via script and sort them that way :slight_smile:
Google around for this if you are interested in this method.