Open Sound Control (OSC) library for Unity, distributed as a UPM package.
This is a fork of jorgegarcia/UnityOSC maintained by Theoriz. It is used as a dependency in OCF and GenUI.
Add the following line to your project's Packages/manifest.json:
{
"dependencies": {
"com.theoriz.unityosc": "https://github.com/Theoriz/UnityOSC.git"
}
}Or in the Unity Editor, go to Window > Package Manager > + > Add package from git URL and enter:
https://github.com/Theoriz/UnityOSC.git
Each receiver queues what arrives and delivers it on the main thread, once per frame.
MaxQueuedMessages (default 4096, 0 for unlimited) caps that queue. At the cap the oldest message
is dropped to make room.
The cap is also the most one frame will deliver. Lowering it shortens the worst-case frame but discards more of a burst — including method invocations, which unlike values are not superseded by whatever comes next.
Original library by Jorge Garcia.