private void OnBluetoothDeviceChangedHandler(EBluetoothDeviceType bluetoothDeviceType) { m_btnConnectA.SetActive(bluetoothDeviceType == EBluetoothDeviceType.BLUETOOTH_CLASSIC); m_btnBLE_1.SetActive(bluetoothDeviceType == EBluetoothDeviceType.BLUETOOTH_LOW_ENERGY); m_btnBLE_2.SetActive(bluetoothDeviceType == EBluetoothDeviceType.BLUETOOTH_LOW_ENERGY); }