2
\$\begingroup\$

What ways are there to interface a unity game with a bill acceptor/validator? Usually this type of devices are connecting to a computer using a serial port and communicate over ccTalk protocol. But what ways exist of incorporating this type of devices in Unity?

\$\endgroup\$
2
\$\begingroup\$

There is nothing built in to Unity for interfacing with this particular hardware.

However, Unity can interface with the serial ports, for example with System.IO.Ports in C#. You will have to either find a library to interface with this hardware and hook it up in Unity, or you'll need to write your own interface using the hardware support built into your scripting language of choice.

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ What way is there of importing libraries in a unity c# script? (I am planning to use C#) \$\endgroup\$ – John Demetriou Feb 18 '15 at 19:54
  • 1
    \$\begingroup\$ Technically, it's a pro-only feature. I've heard of work-arounds but it's something you'll have to search for on your own. \$\endgroup\$ – MichaelHouse Feb 18 '15 at 19:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.