Dynamic Model Swapping

Hello,

I want to create an object with scripted logic so that when you click the mouse button it toggles the objects model. In other words I’d like to be able to dynamically switch an objects mesh, material, and collider whenever I click the mouse button. I tried to do this in script utilizing the OnRenderObject() function along with the Graphics.DrawMesh() function but with no luck.

You could create prefabs for all possible meshes. Then when the button is clicked, you destroy the old object and instanciate a prefab with the new object and place it at the same location as the old. Should be easy enough to do and gives you a lot more flexibility.