lvjincheng eb0e3dbbfd update 4 ani în urmă
..
Materials eb0e3dbbfd update 4 ani în urmă
Scenes eb0e3dbbfd update 4 ani în urmă
Scripts eb0e3dbbfd update 4 ani în urmă
Arduino Unity Plugin.pdf eb0e3dbbfd update 4 ani în urmă
Arduino Unity Plugin.pdf.meta eb0e3dbbfd update 4 ani în urmă
Materials.meta eb0e3dbbfd update 4 ani în urmă
Scenes.meta eb0e3dbbfd update 4 ani în urmă
Scripts.meta eb0e3dbbfd update 4 ani în urmă
changelogs.txt eb0e3dbbfd update 4 ani în urmă
changelogs.txt.meta eb0e3dbbfd update 4 ani în urmă
help.txt eb0e3dbbfd update 4 ani în urmă
help.txt.meta eb0e3dbbfd update 4 ani în urmă
readme.txt eb0e3dbbfd update 4 ani în urmă
readme.txt.meta eb0e3dbbfd update 4 ani în urmă
wiring.png eb0e3dbbfd update 4 ani în urmă
wiring.png.meta eb0e3dbbfd update 4 ani în urmă

readme.txt

If you are upgrading from version 5.3.1 or older to version 5.4.0 please note the following changes:


All BluetoothHelper class events now have BluetoothHelper as their 1st parameter.

this is for better support of connection to multiple instance,
for example, previously you would do:

bluetoothHelper.OnConnected += ()
{
//do something...
}


now you do :
bluetoothHelper.OnConnected += (helper)
{
//do something...
//inside this function, you now have a reference to the caller of that function!
}

the above is applicable for all events.
another exampler:

bluetoothHelper.OnCharacteristicChanged += OnCharacteristicChanged;

void OnCharacteristicChanged (BluetoothHelper helper, byte[] value, BluetoothHelperCharacteristic characteristic)
{
//do somthing
}

previously it was :
void OnCharacteristicChanged (byte[] value, BluetoothHelperCharacteristic characteristic)
{
//do somthing
}