If you want to use it in unity, you really don't want to model each peg. What you would want to do is create a box, then texture it using normal maps and diffuse to give the illusion of the pegs.