Garbage collect every 30 frames unity

118

Garbage collect every 30 frames unity -

if (Time.frameCount % 30 == 0)
{
	System.GC.Collect();
}

Comments

Submit
0 Comments