This step-by-step guide will quickly get you started with Uduino. We will both setup Unity 3D and Arduino environment.
Uduino
to your main sceneFile > Examples > Uduino > Uduino
BlinkLed
, located under Uduino/Examples/BlinkLed
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.
Arduino
folder from your Unity project folder (Assets/Uduino/Arduino) with your local Arduino
folder. (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.
Add using Uduino;
at the top of your script !