slambb 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
..
Materials 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
Scenes 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
Scripts 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
Arduino Unity Plugin.pdf 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
Arduino Unity Plugin.pdf.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
Materials.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
Scenes.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
Scripts.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
changelogs.txt 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
changelogs.txt.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
help.txt 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
help.txt.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
readme.txt 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
readme.txt.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
wiring.png 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano
wiring.png.meta 1a770c6bed 1.使用unity 2021.3.42f1 版本 hai 1 ano

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
}