This plugin for Unity 3D communication with Arduino. This allows you to easily create a connection between Unity and Arduino using a COM port via wire or bluetooth. Tested on Arduino Mini / Nano / Uno / Mega.
Data transmission is carried out by packets. Simple packaging and unpacking of the main atomic types and arrays into the COM port byte stream is implemented. See screenshots.