Ejemplo n.º 1
0
    void onEnumChange()
    {
        switch (mBluetoothType)
        {
        case BluetoothType.InSecrue:
            bluetoothTypeString = "8ce255c0-200a-11e0-ac64-0800200c9a66";
            break;

        case BluetoothType.Secure:
            bluetoothTypeString = "fa87c0d0-afac-11de-8a39-0800200c9a66";
            break;

        case BluetoothType.SerialPort:
            bluetoothTypeString = "00001101-0000-1000-8000-00805f9b34fb";
            break;
        }
        EnumMesh.text = "Mode : " + mBluetoothType.ToString();
    }