- Home /
The question is answered, right answer was accepted
Editing the mesh of a prefab
How would I go about editing the mesh of a prefab? MeshFilter.mesh is not allowed. MeshFilter.sharedMesh is not plausible because I dont want every mesh being edited.
e.g. I have a prefab that is a sphere with a material. I want to apply Perlin noise to that mesh. However, I dont want any other sphere in the scene being affected.
Answer by $$anonymous$$ · Apr 14, 2018 at 02:33 AM
Might not be the best for everyone but Instead I just create a new GameObject as opposed to a prefab, with CreatePrimitive
Follow this Question
Related Questions
Why does my mesh's vertices all set to 0 when I try to access it using Mesh.vertices? 1 Answer
MeshCollider is not getting updated when adding vertex to mesh 1 Answer
Is it possible to make vertices defined by a mesh and mesh filters animating? 0 Answers
NullReferenceException on assigning vector3 to mesh.vertices - no effect on assignment? 1 Answer