Answer by Pangamini
Can't tell from code, but you can find out easily by running your code in "deep profiler"
View ArticleAnswer by fjhamming_CleVR
Well. It seems you have a few other local variables: private Tile North, South, East, West, Below, Above; These are instances of the same class which recursively add instances of the same ints, floats...
View ArticleAnswer by Joris-V
Are you sure you are not creating a lot of Tile objects at runtime that reference to each other? This construction could possibly cause the memory leak. I would suggest you make the object IDisposable...
View ArticleAnswer by Bonfire-Boy
Having pored over that code for a while and come up with nothing, I wanted to make that time feel a little less wasted by pointing out that you have a few redundant calls to Mathf.Max in there (where...
View Article
More Pages to Explore .....