예제 #1
0
        private static Tile GetTileWithRotation(Pattern pattern, Vector3Int newSize, Vector3Int position)
        {
            Tile tile = pattern.tiles[newSize.z - 1 - position.z, position.y, position.x];

            return(new Tile(RotateTileLabel(tile.Label)));
        }