Fix particle

- fix max particles and destroy on end
This commit is contained in:
Pedro Gomes 2024-07-25 22:33:07 +01:00
parent b16bbc3c73
commit 67cdcf8d7a

View File

@ -4926,7 +4926,7 @@ ParticleSystem:
serializedVersion: 8 serializedVersion: 8
lengthInSec: 1 lengthInSec: 1
simulationSpeed: 1 simulationSpeed: 1
stopAction: 0 stopAction: 2
cullingMode: 0 cullingMode: 0
ringBufferMode: 0 ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1} ringBufferLoopRange: {x: 0, y: 1}
@ -5484,7 +5484,7 @@ ParticleSystem:
m_PostInfinity: 2 m_PostInfinity: 2
m_RotationOrder: 4 m_RotationOrder: 4
randomizeRotationDirection: 0 randomizeRotationDirection: 0
maxNumParticles: 1000 maxNumParticles: 15
customEmitterVelocity: {x: 0, y: 0, z: 0} customEmitterVelocity: {x: 0, y: 0, z: 0}
size3D: 0 size3D: 0
rotation3D: 0 rotation3D: 0