This sample demonstrates how to play a ParticleSystem from an ECS System. Enter Play mode to see the animation.
The scene contains a Subscene and in the Subscene there is a sphere and a ParticleSystem. The JumpingSpherePSSystem script animates the jumping sphere and plays the ParticleSystem when the sphere hits the ground.
- In the Hierarchy, select the Subscene
- In the Inspector, click Open
- Note that the ParticleSystem is in the Subscene and converts to be a Hybrid Entity that you can access from the ECS System script.
For more information about Hybrid entities, see the Hybrid entities documentation.