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

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
}