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

close #231
This commit is contained in:
mob-sakai
2023-08-14 15:43:18 +09:00
parent e67e9482e2
commit b308b26833

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;