If I have a prefab that contains a particle system, what's the best way to get access to that system and modify it at runtime?
I'm not doing anything special to bake the prefab, just calling GetEntity in the baker. The particle system exists and works in the game, and there's obviously some sort of link to it from the prefab entity, but I can't figure out the syntax to get access to the particle system.
SystemAPI.Query<SystemAPI.ManagedAPI.UnityEngineComponent<ParticleSystem>>() works to find all the particle systems in the world, but I seem to only have read-only access to them. What I really want is the ability to modify a particle system that exists on a single known entity.
Using Entities 1.0.16 in Unity 2022.3.14f1