MagicOnion.Template.Unity provides a ready-to-use project structure for building real-time networked applications with MagicOnion, combining a Unity 6 client with a .NET server. The template eliminates initial setup complexity, offering pre-configured project architecture, build scripts, and networking foundations so developers can focus on game logic rather than boilerplate configuration.
NuGet package
Add via NuGetForUnity (recommended for Unity), a <PackageReference> in your .csproj,
or the dotnet CLI. Click Install for the full instructions.
AppNamePlaceholder.Shared README
Rendered from GitHubMagicOnion.Template.Unity
This repository provides a template for creating a project that has completed the Quick Start with Unity and .NET Server.
This template based on the "Universal 3D" template using Unity 6000.0.36f1.
How to set up
You can download the archive file from GitHub and extract it, or create a repository from the GitHub template feature. The following is an example command to extract the template to the MyApp directory.
REM Windows (cmd.exe or PowerShell)
mkdir MyApp
cd MyApp
curl.exe -L -o - https://github.com/Cysharp/MagicOnion.Template.Unity/archive/refs/heads/main.tar.gz | tar xz -C . --strip-component 1
# Bash, zsh
mkdir MyApp
cd MyApp
curl -L -o - https://github.com/Cysharp/MagicOnion.Template.Unity/archive/refs/heads/main.tar.gz | tar xz -C . --strip-component 1
After extracting the source code, run init.cmd or init.sh with an arbitrary project name (e.g., MyApp). This script performs preparation such as renaming projects and files in the repository root.
init.cmd MyApp
bash init.sh MyApp
After running the script, you can delete init.sh and init.cmd and tools/RepoInitializer that actually perform the rewriting process.
License
The repository is provided under the CC0 - Public Domain license.
Versions 0
No versions tracked yet.
Dependencies 0
No dependencies.
Changelog 0 releases
No changelog entries yet. Run the admin Changelog & Version Scanner to pull from the repository's CHANGELOG.md.
README Markdown
Copy this to your project's README.md
## Installation
Add **Shared** 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/cysharp-magiconion-template-unity.git
```
[](https://www.pkglnk.dev/pkg/cysharp-magiconion-template-unity)Embed badge README snippet
[](https://www.pkglnk.dev/pkg/cysharp-magiconion-template-unity) <a href="https://www.pkglnk.dev/pkg/cysharp-magiconion-template-unity"><img src="https://www.pkglnk.dev/badge/cysharp-magiconion-template-unity.svg" alt="pkglnk installs"></a> https://www.pkglnk.dev/badge/cysharp-magiconion-template-unity.svg Comments
No comments yet. Be the first!


Sign in to join the conversation
Sign In