MirageNet.Mirage
149.4.1
dotnet add package MirageNet.Mirage --version 149.4.1
NuGet\Install-Package MirageNet.Mirage -Version 149.4.1
<PackageReference Include="MirageNet.Mirage" Version="149.4.1" />
paket add MirageNet.Mirage --version 149.4.1
#r "nuget: MirageNet.Mirage, 149.4.1"
// Install MirageNet.Mirage as a Cake Addin #addin nuget:?package=MirageNet.Mirage&version=149.4.1 // Install MirageNet.Mirage as a Cake Tool #tool nuget:?package=MirageNet.Mirage&version=149.4.1
Mirage Standalone
Mirage Standalone package is a .NET Core version of Mirage. Mirage Standalone allows the core parts of Mirage to be used outside of unity.
Mirage is a rolling-release high-level API for the Unity Game Engine that provides a powerful, yet easy to use networking API. It is designed to work with Unity 3D and is available on GitHub.
.NET Core Setup
Adding Weaver to project
Mirage uses mono.cecil to modify dlls after they are built to make some of the networking features work.
To make this work on your projects add this to the .csproj
for a project.
make sure to add the GeneratePathProperty
part to PackageReference
, so that the build function can find the CodeGen folder
<ItemGroup>
<PackageReference Include="MirageNet.Mirage" Version="130.3.5" GeneratePathProperty="true" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command=""$(PkgMirageNet_Mirage)/CodeGen/Mirage.CodeGen.exe" "$(TargetPath)"" />
<Error Condition="$(ExitCode) == 1" />
</Target>
It will cause weaver to run when that project is compiled and stop if weaver has any errors
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- UniTask (>= 2.5.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.