fix: sub-emitters option is not work in editor playing

close #231
mob-sakai 2023-08-14 15:43:18 +09:00
parent 60932e92c1
commit 5a21298c02
1 changed files with 4 additions and 1 deletions

View File

@ -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;