So recently I had to implement a barcode generator in Unity. What I needed was:
- The ability to generate different types of barcodes (QR, Code 128, PDF 417 etc…)
- Get a Texture2D / Sprite from a piece of data that needed to be encoded.
- To do it efficiently and consistently
A few google searches later I found that the vastly popular ZXIng library has a .NET port, which offers a Unity optimized DLL, so I decided to try it out.