Remove Redundant Particle Control

This commit is contained in:
copecone committed 2026-05-24 15:31:15 +09:00
1 parent c2b9bcd89e
commit 1d9db816a1
1 file changed
-9
-9
View File
@@ -123,15 +123,6 @@ namespace ADOFAIRenderer
{ {
Time.timeScale = (float)(Time.deltaTime / realDeltaTime); Time.timeScale = (float)(Time.deltaTime / realDeltaTime);
} }
var array = Object.FindObjectsByType<ParticleSystem>(FindObjectsSortMode.None);
foreach (var particleSystem in array)
{
if (particleSystem.IsAlive(false))
{
particleSystem.Simulate(Time.deltaTime, false, false, false);
}
}
} }
public static int FrameCountForVideo; public static int FrameCountForVideo;