public void CheckForNewSeeds(List <Vector2> playerNodes) { foreach (Vector2 v2 in playerNodes) { Vector2 roundedPos = new Vector2(RoundOff(v2.x, c_Width * s_size), RoundOff(v2.y, c_Height * s_size)); int seed = GetSeed(roundedPos); if (seed != -1) { ActiveSeeds.Add(seed, roundedPos); //New seed found Do all loading factory call here ChunkScript chunk = t_Factory.ActivateRandomChunk(roundedPos, seed); w_Factory.AddWorldObjectsToChunk(seed, chunk); } } }