Generate Puzzle generates the puzzle, but first checks if there is already a
puzzle generated and if so, deletes it.
Delete Puzzle just deletes the created puzzle if any.
As you can see, you can use your own prefab for the puzzle piece.
The second script component is Puzzle Master.
Puzzle Master is basically what controls the puzzle and checks if it is
completed or not.
Rotate Pieces After Completed lets you rotate the pieces even when the
puzzle is completed. Just in case you want that.
Completed gets checked when the Puzzle is completed.
Default Pipe Colour : default colour for the “pipes”, the connection lines
when they are not connected.
Default Piece Colour : colour of the puzzle piece.