parent
8034228713
commit
fb7f308f09
Scripts
|
@ -461,14 +461,6 @@ namespace Coffee.UIExtensions
|
||||||
_prewarm = false;
|
_prewarm = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Normal simulation for non-scaling or local spacing.
|
|
||||||
var isScaling = scale != Vector3.one;
|
|
||||||
if (!isScaling || _particleSystem.GetActualSimulationSpace() == ParticleSystemSimulationSpace.Local)
|
|
||||||
{
|
|
||||||
_particleSystem.Simulate(deltaTime, false, false, false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Emitted particles found.
|
// Emitted particles found.
|
||||||
if (_prevParticleCount != _particleSystem.particleCount)
|
if (_prevParticleCount != _particleSystem.particleCount)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue