i am creating the cubes run time,which have textures right now i am just storing the position of cubes in vector array…i want to store the textures of the cubes also…Is it possible,how can i do it…??
korbul
2
Of course. Unity offers Texture2D class. You can find the reference here
You can keep a vector array of Texture2D that you created at run-time, or are already existing.
Hope that helps