SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Remove Redundant Particle Control
This commit is contained in:
1 parent
c2b9bcd89e
commit
1d9db816a1
1 file changed
-9
@@ -123,15 +123,6 @@ namespace ADOFAIRenderer
|
||||
{
|
||||
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;
|
||||
|
||||
Reference in new issue
Block a user