This step-by-step guide will quickly get you started with Uduino. We will both setup Unity 3D and Arduino environment.
Due to a bug in Unity 2017.1, you cannot build for Mac OS with this version. Version 5.6.3 or 2017.2+ works fine.
Uduinoto your main scene
File > Examples > Uduino > Uduino
BlinkLed, located under
If the automatic installation process didn't work or if you want to install Uduino manually, you can add the library manually. You also have to configure Unity's project settings.
Arduinofolder from your Unity project folder (Assets/Uduino/Arduino) with your local
Arduinofolder. (Windows : C:\Users\Username\Documents\Arduino\, Mac: ~/Documents/Arduino/ ).
Uduino is part of a Namespace. Each time you will create a script communicating with the UduinoManager, you need to add the namespace.
using Uduino;at the top of your script !