- Home /
Question by
Slashik · Jun 20, 2021 at 05:02 PM ·
texturematerialsdynamic mesh
Change material of dynamically generated mesh
I am working on a 3D Fruit slicing game. I was able to cut a mesh. The cut parts are dynamically generated mesh with original material applied. The problem is after slicing, I don't know how to change the material of the inner part of the Fruit/mesh.
Before and after cutting:
I want this image as the inside texture:
I am not fluent in unity. Any help will be very much appreciated.
rsz-inside.png
(14.6 kB)
all.png
(34.8 kB)
Comment
Answer by eneIr · Jun 21, 2021 at 02:22 AM
Maybe you can make the inner part a separate child game object of the fruit.