I need a help!
How can I enable a collision module of a particle system and change its properties from a C# code?
E.g. for Particle System Renderer we have smth like that:
_particleSystem.GetComponent();
Thanks!
I need a help!
How can I enable a collision module of a particle system and change its properties from a C# code?
E.g. for Particle System Renderer we have smth like that:
_particleSystem.GetComponent();
Thanks!
As you can see, this is what you get from the API: Unity - Scripting API: ParticleSystem
I think, you cannot access most of the parts from the particlesystem through code, here is also a tutorial you might want to look at if you did not alredy: https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/particle-systems
Besides that, I think, you could enable it via animation editor, so, you could make an animation with like 2 frames, which turns it on or off for example. But I do not think, you can change e.g. the collider plane to world collider or something like that.
Thanks!