Closed wumaolinmaoan closed 2 months ago
Recent updates to the particle system enhance its functionality and performance. The ParticleSystem
class now includes a method to check if the system is frozen and a new property for initialization control. Additionally, the ParticleBehaviourPlayable
class saw the removal of an obsolete property, leading to more streamlined deltaTime calculations.
File | Change Summary |
---|---|
.../particle/particle-system.ts |
Added isFrozen() method and ended property to ParticleSystem class. |
.../particle/particle-vfx-item.ts |
Removed lastTime property and adjusted deltaTime-related logic in ParticleBehaviourPlayable class. |
In circuits where particles dance and play,
New methods keep the freeze at bay.
With streamlined time and bursts arrayed,
Our code now shines, never delayed.
A system reborn, with functions arrayed,
Celebrate, for else we would’ve swayed. 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
isFrozen()
method in ParticleSystem to check if the system is frozen.ended
to ParticleSystem for enhanced emitter control.Refactor
lastTime
property from ParticleBehaviourPlayable.deltaTime
calculation in ParticleBehaviourPlayable.