Unity - Scripting API: ParticleSystem.GetTrails
Success!
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.
Submission failed
For 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.
Returns
Trails The variable to populate with the Trails that currently belong to the Particle System..
Description
Returns all the data relating to the current internal state of the Particle System Trails.
Parameters
| Parameter | Description |
|---|---|
| trailData | The current Trails belonging to the Particle System. |
Returns
int The number of trails.