Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Garbage collect every 30 frames unity

if (Time.frameCount % 30 == 0)
{
	System.GC.Collect();
}
Source by www.jacksondunstan.com #
 
PREVIOUS NEXT
Tagged: #Garbage #collect #frames #unity
ADD COMMENT
Topic
Name
4+7 =