Assets/Mirror/Hosting/Edgegap/README.md
This plugin has been tested, and supports Unity versions 2021.2+, including all LTS releases, Unity 2023, and Unity 6.
This plugin is intended to help you:
This plugin does not need to be included in your builds, as it's only a development tool and does not have any runtime features.
https://github.com/edgegap/edgegap-unity-plugin.git,com.unity.nuget.newtonsoft-json and wait for the Unity Package Manager to complete the installation.,main branch,Assets folder within Unity project root.The only other official distribution channels for this plugin are:
Once you have it, check for Tools -> Edgegap Hosting in Unity's top menu.
To take full advantage of our Unity plugin's build features, you will need to:
From here, we recommend following our Unity Plugin Guide to get your first dedicated server deployed.
If you've installed using git, to update our plugin, locate it in Unity's Package Manager window and click Update. Wait for the process to complete and you're good to go!
If you've installed by copying, you will have to remove the Edgegap folder and paste the newer copy. Your settings are saved in your Unity version, so they shouldn't be lost in this process.
This section is only for developers working on this plugin or other plugins interacting / integrating this plugin.
This project uses CSharpier code formatter to ensure consistent and readable formatting, configured in /.config/dotnet-tools.json.
See Editor integration for Visual Studio extensions, optionally configure Reformat with CSharpier on Save under Tools | Options | CSharpier | General. You may also configure running formatting as a pre-commit git hook.
If you wish to detect presence of this plugin in the users Unity Editor, you can do so using a compiler directive:
#if EDGEGAP_PLUGIN_SERVERS
{...your code...}
#endif