

Unity 游戏/工具框架与示例工程。
Unified Realtime/API framework for .NET platform and Unity. 📖 Documentation (English)]( MagicOnion is a modern RPC 框架 for .NET platform that provides bi-directional real-time communications such as SignalR.。
使用说明:This guide shows how to create a simple MagicOnion server and client. The server provides a simple service that adds two numbers, and the client calls the service to get the result. MagicOnion provides RPC services like Web API and StreamingHub for real-time communication. This section implements an RPC service like Web API. At first, create a MagicOnion server project and define and implement a service interface. 1. Setting up a gRPC server project for MagicOnion To t with a Minimal API project (see: [Tutorial: Create a minimal web API with ASP.NET Core]( create a project from the ASP.NET Core Empty template. Add the NuGet package;MagicOnion.Server;to the project. If you are using the .NET CLI tool to add it, run the following command:。















