Unity script to deal with Arduino firmata firmware.