IEnumerator Initialize() { laneWidth = GameObject.Find("PathLanes").GetComponent<PathLaneSettings>().pathNodeDistance; for (int index = 0; index < clumpsBetweenGates.Length; index++) pooledAmount += clumpsBetweenGates[index]; PooledObjects.objectPool.PopulateGameObjectPool("clump", obstacleClump, pooledAmount); yield return new WaitForSeconds(0.25f); runTween = GameObject.Find("PathController").GetComponent<PathController>().runTween; percentDistanceOne = Vector3.Distance(runTween.GetPointOnPath(0.01f), runTween.GetPointOnPath(0.0f)); DetermineClumpSettings(); PositionObstacles(); }