Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary per-frame allocation.
UIParticle.UpdateRenderers() produces a sizable per-frame allocation due to the use of LINQ's Any() method. Replacing said method usage with a simple foreach loop entirely removes the allocation and reduces over all GC pressure.
- Loading branch information