Ollo SDK for Unity uses a native plugin + C# wrapper.
OlloSDK.unitypackage into your projectPlugins/Ollo/ollosdk.dllScripts/OlloSDK.csusing UnityEngine;
using Ollo;
public class BlinkTest : MonoBehaviour
{
void Start()
{
if (OlloSDK.Start())
Debug.Log("Blinkd started " + OlloSDK.GetVersion());
else
Debug.LogError("Blinkd error " + OlloSDK.GetLastError());
}
void Update()
{
OlloSDK.PollBlinkEvents();
}
}
int err = OlloSDK.GetLastError();
Same error table as Quickstart.
void OnBlink(OlloBlinkEvent e)
{
// e.timestampMs
// e.intensity
// e.side
}
Tie this into animation, VFX, or AI behavior.