Heyo,
I’m working on a prototype, and the main point of it is to procedurally change a game object’s mesh and particle system(s) at runtime. The end goal is to be able to have a list of keywords that can be combined with certain rules to create an arbitrary result - i.e., “Fire Bullet” should set the mesh to the one relevant for the “bullet” keyword and set the attached particle system to the one relevant for the “fire” keyword. All this is controlled in the game object that’s being modified.
I’m running in to a problem where I don’t know how to reference the relevant mesh for each mesh-defining keyword. I haven’t looked into the particle systems but it’s likely to be the same story there. A solid hour of google has turned up little helpful information.
Any help would be appreciated, and I’m happy to answer any questions you may have.