2D Toolkit Forum
2D Toolkit => Support => Topic started by: Martin on October 10, 2013, 06:26:55 pm
-
I have spikes of activity for tk2dCamera.OnPreCull() in the profiler, what might cause this?
(http://i.imgur.com/sg3slUg.png)
-
That is likely hiding a GC.Collect somewhere.
That function is "expensive" in the editor, but shouldn' be anywhere near that bad. Its an editor only function (Editor__GetGameViewSize) as well, so it can't possibly cause any issues at runtime.
-
Thanks, that clears it up. It's peace of mind to know I can ignore this one while profiling :)