This Video shows how to convert an editor 3D model to script-generated mesh in Unity
It shows how to save a 3D model loaded in the Unity editor into a code. This will enable loading a model inside a code file by Debug.Log all the mesh components and color into one block of text that you can paste into the code.
Long version tutorial:
• How to Convert 3D Model to Script in ...
GitHub link to MeshLog code:
https://github.com/DA-LAB-Tutorials/Y...
GitHub link to GenerateMesh code:
https://github.com/DA-LAB-Tutorials/Y...