Steamworks.NET Transport for Mirage.
Dependencies:
- Mirage
- Steamworks.NET
- SteamManager (optional) (see docs)
When installing via package manager Mirage and Steamworks.NET will be automatically included by unity, but the SteamManager.cs is something you will need to include in your project manually
- Add openupm registry. Click on the menu Edit -> Project settings..., and add a scoped registry like so:
Name:OpenUPM
Url:https://package.openupm.com
Scopes: -com.miragenet-com.cysharp.unitask-com.rlabrecque.steamworks.net - Close the project settings
- Open the package manager.
- Click on menu Window -> Package Manager and select "Packages: My Registries",
- select the latest version of
Mirage Steamworks.net Socketand click install, like so: - You may come back to the package manager to unistall
Mirage Steamworks.net Socketor upgrade it.
add com.miragenet.steamworkssocket to your unity manifest.json file, make sure to use latest versions
{
"dependencies": {
"com.miragenet.mirage": "147.2.1",
"com.rlabrecque.steamworks.net": "20.2.0",
"com.cysharp.unitask": "2.2.5",
"com.miragenet.steamworkssocket": "1.0.0",
// ...
},
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"com.miragenet",
"com.cysharp.unitask",
"com.rlabrecque.steamworks.net"
]
}
]
}add com.miragenet.steamworkssocket to your unity manifest.json file, and set git url. Make sure to set version tag
{
"dependencies": {
"com.miragenet.steamworkssocket": "https://github.com/MirageNet/MirageSteamworks.git?path=/Assets/MirageSteamworks#v1.0.0",
// ...
}
}Download code from this repo or Release page and add the Assets/MirageSteamworks folder to your project