Hi,
I want to do an animation using textures, and want to assign 45 textures pointers to an array on the start of the script, as to avoid doing it by hand. My problem is, how do I get the pointer to each texture? Is it possible?
Thanks.
Hi,
I want to do an animation using textures, and want to assign 45 textures pointers to an array on the start of the script, as to avoid doing it by hand. My problem is, how do I get the pointer to each texture? Is it possible?
Thanks.
Hmm, looks like your best bet would be Resources.Load: Unity - Scripting API: Resources
45 textures, though? That might be a bit… excessive, you should probably look in animating uvs instead.