-
-
Notifications
You must be signed in to change notification settings - Fork 667
I wonder how to optimize this fantastic plugin? #358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for your reporting! |
When rendering the same particle system multiple times, use the [Mesh Sharing](https://github.com/mob-sakai/ParticleEffectForUGUI?tab=readme-ov-file#component-uiparticle) feature. |
Thank you for your replying!However,these particle system in my project are different from each other,and I suppose it is not supported to enable |
Alright, I’ve been considering some optimizations:
|
Throughing profiler,the UIParticleRenderer.UpdateMesh() costs a lot,with Combine Mesh,Bake Mesh and Update Animatable Material Properties and so on.
Though when using little amount UIParticle,it seems good and works well.However,when there is too much UIParticle in one canvas and,with many Particle System in Rendering Order(about 5-10),it runs slow!It costs about 50-70ms per frame.
I'm trying to seek into the code deeply but,it is hard to optimize for every piece of code has its purpose.
The text was updated successfully, but these errors were encountered: