Unity-WebGL-SignalR

(β˜… 94)

Unity Plugin for using SignalR in WebGL Builds

  • .gitignore
  • CHANGELOG.md
  • LICENSE
  • Makefile
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/evanlindsey/Unity-WebGL-SignalR

Downloads the entire project code from GitHub to your computer.

cd Unity-WebGL-SignalR

Moves into the project folder you just downloaded.

2. .NET

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
cd Server

This project's files live in a subfolder, so move into it first.

dotnet restore

Downloads the packages the project depends on.

dotnet run

Builds the project and runs it immediately.

βœ… After dotnet run, check the message or address shown in the terminal.

3. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make help # Show all available commands

Compiles the code based on the generated build configuration to produce an executable.

make install-signalr # Install SignalR DLLs for Unity

Compiles the code based on the generated build configuration to produce an executable.

make server # Run the server

Compiles the code based on the generated build configuration to produce an executable.

make health # Check if server is running

Compiles the code based on the generated build configuration to produce an executable.

make server & # Start the server

Compiles the code based on the generated build configuration to produce an executable.

βœ… If it finishes without errors, it worked. Try running the generated executable directly.

Pulled directly from this repo's README.

// repository documentation