what's with the thread hijacking?
YANJUN What is the best way to connect Bela to Unity. specifically, there is a distant sensor on Bela mini, the sensing value control the animation that created with Unity. In turn, the different animation (different motion activity from a character) will influence the haptic motor connected on Bela board as output. In a word, how to send data back and forth between unity and bela board.
Does Unity take MIDI ? In that case, MIDI is probably the best way to communicate to/from it. If you use the MIDI device hw:1,0,0
from Bela, that will send/receive to/from the USB MIDI interface that shows up on the host when you connect your board. If you are using Pd, have a look at the example PureData/midi-cv-midi .
YANJUN 2. Would you please introduce me some online course/materials, that you think I can start to learn.
https://learn.bela.io/tutorials/