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

close #231
pull/289/head
mob-sakai 2023-08-14 15:43:18 +09:00
parent e67e9482e2
commit b308b26833
1 changed files with 3 additions and 0 deletions

View File

@ -520,6 +520,8 @@ namespace Coffee.UIExtensions
_prewarm = false;
}
// (COMMENT OUT) #231: Sub Emitters option is not work in editor playing
/*
// Emitted particles found.
if (_prevParticleCount != _particleSystem.particleCount)
{
@ -535,6 +537,7 @@ namespace Coffee.UIExtensions
_particleSystem.SetParticles(particles, size);
}
*/
// get world position.
var psTransform = _particleSystem.transform;