fix: sub-emitters option is not work in editor playing
close #231
parent
60932e92c1
commit
5a21298c02
|
@ -519,6 +519,8 @@ namespace Coffee.UIExtensions
|
||||||
_prewarm = false;
|
_prewarm = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// (COMMENT OUT) #231: Sub Emitters option is not work in editor playing
|
||||||
|
/*
|
||||||
// Emitted particles found.
|
// Emitted particles found.
|
||||||
if (_prevParticleCount != _particleSystem.particleCount)
|
if (_prevParticleCount != _particleSystem.particleCount)
|
||||||
{
|
{
|
||||||
|
@ -534,6 +536,7 @@ namespace Coffee.UIExtensions
|
||||||
|
|
||||||
_particleSystem.SetParticles(particles, size);
|
_particleSystem.SetParticles(particles, size);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// get world position.
|
// get world position.
|
||||||
var psTransform = _particleSystem.transform;
|
var psTransform = _particleSystem.transform;
|
||||||
|
|
Loading…
Reference in New Issue