- Home /
Question by
shepsaus000 · Oct 13, 2015 at 04:03 PM ·
scripting problem
I want my Sphere to change materials
I've been messing around with Unity and I would like to know how to get my Sphere object to change materials every frame (I'm assuming this means that I need to put something in the Update function, but I don't know what).
Comment
Answer by The_Unity_Game_Developer · Oct 13, 2015 at 04:08 PM
Assuming you know some basic programming, I would create an array for the different meshes then scroll through it at a predetermined pace.
I won't give you the code because I think it's best to learn by figuring things out on your own.
Your answer
![](https://koobas.hobune.stream/wayback/20220612041154im_/https://answers.unity.com/themes/thub/images/avi.jpg)