So I currently have this for arduino.ino:
Serial.println(Variable1);
that does this in Unity:
string variable1 = stream.ReadLine();
float x = float.Parse(variable1);
transform.Rotate (0, -x/1000, 0);
My question is; How would I send 3 variables from the Arduino to Unity so I can put each value into the transform.Rotate function at once?
For example in pseudocode:
Arduino.ino
send(Variable1, Variable2, Variable3);
Unity
transform.Rotate(Variable1,Variable2,Variable3);
I hope this makes sense. Thank you.