public void Connect() { client = new OscClient(ipAddress, port); }
void Start() { client = new OscClient(IPAddress, oscPortOut); }
public void SendButtonMsg() { client = new OscClient(IPAddress, oscPortOut); string buttonAddress = "/button"; //client.Send(buttonAddress, buttonmsg); }
public void SendData() { client = new OscClient(IPAddress, oscPortOut); client.Send(oscAddress, sliderIndex, sliderValue); Debug.Log(oscAddress + ":" + ":" + sliderIndex + ":" + sliderValue); }
void OnDestroy() { _client?.Dispose(); _client = null; }