MirageNet Discovery
MirageNet Discovery enables automatic server detection and connection within local networks for games using MirageNet. Simplify multiplayer setup by allowing clients to discover available game servers on the same network without manual IP configuration. Compatible with Unity 2020.2 and later through the Package Manager.
com.miragenet.discovery Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/discovery.git?path=Assets/Discovery README Markdown
Copy this to your project's README.md
## Installation
Add **MirageNet Discovery** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/discovery.git?path=Assets%2FDiscovery
```
[](https://www.pkglnk.dev/pkg/discovery)README

Mirage Discovery is a plugin for Mirage to for games to automatically find each other within the same network
Installation
The preferred installation method is Unity Package manager.
If you are using unity 2020.2 or later:
- Open your project in unity
- Install Mirage
- Click on Windows -> Package Manager
- Click on the plus sign on the left and click on "Add package from git URL..."
- enter https://github.com/MirageNet/Discovery.git?path=/Assets/Discovery
- Unity will download and install Mirage Discovery
Alternatively you can download it from Releases. You will need to install some dependencies yourself such as cecil.
Usage
- In Unity create a NetworkManager gameobject from the GameObject -> Networking -> NetworkManager.
- Then remove the NetworkManagerHud (the default transport), and add a NetworkDiscoveryHud.
Contributing
There are several ways to contribute to this project:
- Pull requests for bug fixes and features are always appreciated.
- Pull requests to improve the documentation is also welcome
- Make tutorials on how to use this
- Test it and open issues
- Review existing pull requests
- Donations
When contributing code, please keep these things in mind:
- KISS principle. Everything needs to be as simple as possible.
- An API is like a joke, if you have to explain it is not a good one. Do not require people to read the documentation if you can avoid it.
- Follow C# code conventions.
- Follow SOLID principles as much as possible.
- Keep your pull requests small and obvious, if a PR can be split into several small ones, do so.
No comments yet. Be the first!