Question by
AKillustrate · May 01, 2017 at 08:03 PM ·
scripting beginnermaterialssubmesh
Recognizing submeshes as GameObject?
I'm using plygame/blox to make a script where I change the material of a submesh when I push a button. However, plygame is having trouble finding the submeshes.
I think I might need a script that can separate the submeshes from a mesh so I can drag and drop it into the blox system or otherwise recognize them as an object/mesh? Would anyone know how to make unity do this?
Note: I don't know how to traditionally code and only vaguely know how to code in the blox system. So I might not understand things right away! I apologize for this!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612121059im_/https://answers.unity.com/themes/thub/images/avi.jpg)