async void btnConnect_Click() { var dropdown = ddDevices.GetComponent <Dropdown>(); var mDevice = mDevices[dropdown.value]; var state = await engine.BeginConnectToDevice(mDevice); Debug.Log("Connect result " + state); }
async void btnConnect_Click() { var dropdown = ddDevices.GetComponent <Dropdown>(); var mDevice = mDevices[dropdown.value]; var state = await engine.BeginConnectToDevice(mDevice); Debug.Log("Connect result " + state); }