- Home /
This question was
closed Aug 25, 2014 at 12:13 PM by
meat5000 for the following reason:
Seriously people. Do a basic search for this one!
How would you put a texture on a cube using c#? (SOLVED)
I have been looking for a way to do this for a while. I'm trying to put a texture called "Stone.bmp" from a Resources file I created onto a cube. It keeps saying that I need to convert the Object type into a Texture. How would I fix this?
Comment
$$anonymous$$aybe do some reading on $$anonymous$$aterials and Shaders?
Once you can do it by hand, in the Inspector, it's just matter of having the code do the same thing. Easy to look up the right code, once you know what you're looking for.