Hi,
I’m trying to access a SerializedProperty form a particle system but I can’t get the real name of the property (I’m guessing it using the debug inspector view). The property I’m trying to access is “Mesh” form the particle system module “Shape”.
Here is the code:
SerializedProperty meshEmitter = newSerializedObject.FindProperty("ShapeModule.xxxxxxxx");
Where xxxxx must be the name of the variable. Does Anyone know how to get the assigned mesh emitter form particle system i the editor?
Cheers