We’ve released a plugin for Unity iPhone that enables bluetooth connections. It’s called Bluetooth Manager, and it works with Unity iPhone Basic and Advanced. It allows you to connect 2 devices together, then you can communicate by calling functions back and forth. It also Includes a couple of sample projects. And it’s available for $15.00. Here’s the purchase link:
To forcefully close the connection, call this function.
BluetoothManager.CloseSession ();
As you probably know, Unity has already announced this feature is coming in Unity 3.0. But if you want Bluetooth right now, Bluetooth Manager is available.
Just built and ran the turn-based tic-tac-toe test project and it works without a hitch. Really nicely done. If you are planning to do any Bluetooth networking this is a great way to hit the ground running. $15 well spent!
The current version of Bluetooth Manager is designed for Unity iPhone 1.7. There is a version available for Unity 3.0 and you can get it by mailing the following address: