diff --git a/Assets/CoreBluetooth/Samples/01_LightControl/SampleLightControl_Central.cs b/Assets/CoreBluetooth/Samples/01_LightControl/SampleLightControl_Central.cs index 985af28..ff4c93a 100644 --- a/Assets/CoreBluetooth/Samples/01_LightControl/SampleLightControl_Central.cs +++ b/Assets/CoreBluetooth/Samples/01_LightControl/SampleLightControl_Central.cs @@ -142,7 +142,7 @@ public void OnClickRandomColor() _rgbSliders.SetColor(color); } - void OnDestory() + void OnDestroy() { if (_centralManager != null) { diff --git a/Packages/com.teach310.core-bluetooth-for-unity/package.json b/Packages/com.teach310.core-bluetooth-for-unity/package.json index 77e8b43..75ebb23 100644 --- a/Packages/com.teach310.core-bluetooth-for-unity/package.json +++ b/Packages/com.teach310.core-bluetooth-for-unity/package.json @@ -1,6 +1,6 @@ { "name": "com.teach310.core-bluetooth-for-unity", - "version": "0.4.2", + "version": "0.4.3", "displayName": "CoreBluetooth", "description": "Provides native Apple CoreBluetooth integration for use with Unity.", "unity": "2022.3",