/Nearby-Connections-for-Unity

Nearby Connections Unity Plugin implementation

Primary LanguageC#Apache License 2.0Apache-2.0

Nearby Connections for Unity

Nearby Connections Unity Plugin implementation

This package enables to find nearby devices, connect them, and communicate with each others without the mediating server.

Supporting platforms:

  • iOS
  • Android
  • macOS Standalone
  • Unity Editor on macOS

(The Nearby seems to be also worked on Windows, but I couldn't build the binary.)

Install the package on the Unity Package Manager

Push the + button on the Unity's Package Manager view, and select Add package from git URL… menu.
Then specify the URL below:

ssh://git@github.com/kshoji/Nearby-Connections-for-Unity.git

The main class of this package:

The NearbyConnectionsManager class is a wrapper class for Nearby API.
To look the implementation of the feature, please see the Sample Project of this package.

Native plugin's source

Native plugin's source is stored at another branch: plugin-source.

License

Apache License 2.0

Changelog