- This repository contains the demo result from following the SpacetimeDB Unity "Part 1 - Basic Multiplayer" tutorial, for both client and server.
- The SpacetimeDB Unity SDK is pre-included via the package manifest.
-
The included SpacetimeDB Unity SDK uses the same code as the C# SDK.
-
You can find the documentation for the C# SDK in the C# SDK Reference.
- Download the latest .unitypackage release.
- Open the
.unitypackage
within your Unity project. - Publish your server module via SpacetimeDB CLI.
- Open the
Assets/Scenes/Main
scene and inspect theGameManager
ScriptableObject as a starting point. - See the Unity "Part 1 - Basic Multiplayer" tutorial docs.
- See the SpacetimeDB Unity SDK README.
- The server module example is included from the tutorial docs.
- The client example is included from the tutorial docs.
- Add the Unity demo result for Part 2 - Resources and Scheduling
- Add the Unity demo result for Part 3 - BitCraft Mini