private WorldChunk CreateChunk(Vector3 chunkPos, string name) { GameObject chunkObj = Instantiate(m_WorldChunkPrefab, transform); chunkObj.transform.position = chunkPos; chunkObj.name = name; WorldChunk chunk = chunkObj.GetComponent <WorldChunk>(); chunk.m_Collisions = chunk.GetComponentsInChildren <PushOutCollision>(); return(chunk); }