Hi guys
I was wondering how you would be able to access the partical render material, so that i can modify them at runtime? Ive gone over the script reference but i cant seem to find a method or variable that specifically returns the materials of the particle renderer for that object.
Also i was wondering if i could overwrite a particle emitter within the object with another particle emitter. I have tried this:
object.particleEmitter1 = particleEmitter2;
However the compilor doesnt allow this to work. I recieve an error saying read only.
I dont really want to destroy the original component , then attatch the new emmiter since it sounds risky.
Thanks in advance