struct in UnityEngine
/
Implemented in:UnityEngine.ParticleSystemModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseScript interface for the Sub Emitters module.
The sub-emitters module allows particles to be spawned in child emitters from the positions of particles in the parent system.
The triggering of the child particle emission is linked to events such as the birth, death and collision of particles in the parent system.
See Also: ParticleSystem, ParticleSystem.subEmitters.
enabled | Enable or disable the Sub Emitters module. |
subEmittersCount | The total number of sub-emitters. |
AddSubEmitter | Add a new sub-emitter. |
GetSubEmitterEmitProbability | Returns the probability that the sub-emitter emits particles. |
GetSubEmitterProperties | Get the properties of the sub-emitter at the given index. |
GetSubEmitterSystem | Get the sub-emitter Particle System at the given index. |
GetSubEmitterType | Get the type of the sub-emitter at the given index. |
RemoveSubEmitter | Remove a sub-emitter from the given index in the array. |
SetSubEmitterEmitProbability | Sets the probability that the sub-emitter emits particles. |
SetSubEmitterProperties | Set the properties of the sub-emitter at the given index. |
SetSubEmitterSystem | Set the Particle System to use as the sub-emitter at the given index. |
SetSubEmitterType | Set the type of the sub-emitter at the given index. |