on Game Development
See other posts from Game Development
or by DemonSOCKET
Published on 2014-08-25T11:34:40Z Indexed on 2014/08/25 16:29 UTC
Read the original article Hit count: 2799
I have different types of images for different sprites. and i am not certain that how much different sprites(images) i will have to show. So, i gotta create the sprites and apply textures programatically at runtime.
Now, I defiantly can't use prefabs because it will restrict me with the number of different sprites i can use. and also, changing texture on one sprite prefab instance in game, will change all the sprites prefab, that's not acceptable in my case.
Is there a way i can create sprites without having to create static prefab ?
where ever i looked for the solution every time i got the same answer "create a prefab", which is what can not be done in my case.
© Game Development or respective owner