Exemplo n.º 1
0
        private void LoadAroundCamera()
        {
            var cam       = Camera.main.transform.position;
            var cameraPos = ToChunkCoords(Vector3Int.FloorToInt(cam));
            var extents   = new Vector3Int(10, 5, 10);

            m_BlockWorld.LoadChunkRegion(cameraPos, extents);
        }