diff --git a/docs/docs/modules/c-sharp/quickstart.md b/docs/docs/modules/c-sharp/quickstart.md index 09213dad980..7828bbe7e70 100644 --- a/docs/docs/modules/c-sharp/quickstart.md +++ b/docs/docs/modules/c-sharp/quickstart.md @@ -309,7 +309,7 @@ spacetime sql quickstart-chat "SELECT * FROM message" ## What's next? -You've just set up your first database in SpacetimeDB! You can find the full code for this client [in the C# server module example](https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/tree/master/examples~/quickstart-chat/server). +You've just set up your first database in SpacetimeDB! You can find the full code for this client [in the C# server module example](https://github.com/clockworklabs/SpacetimeDB/tree/master/sdks/csharp/examples~/quickstart-chat/server). The next step would be to create a client that interacts with this module. You can use any of SpacetimeDB's supported client languages to do this. Take a look at the quick start guide for your client language of choice: [Rust](/docs/sdks/rust/quickstart), [C#](/docs/sdks/c-sharp/quickstart), or [TypeScript](/docs/sdks/typescript/quickstart). diff --git a/docs/docs/sdks/c-sharp/index.md b/docs/docs/sdks/c-sharp/index.md index d3e421188da..07a60b0cc9c 100644 --- a/docs/docs/sdks/c-sharp/index.md +++ b/docs/docs/sdks/c-sharp/index.md @@ -30,9 +30,11 @@ dotnet add package SpacetimeDB.ClientSDK ### Using Unity -To install the SpacetimeDB SDK into a Unity project, [download the SpacetimeDB SDK](https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/releases/latest), packaged as a `.unitypackage`. +Add the SpacetimeDB Unity Package using the Package Manager. Open the Package Manager window by clicking on Window -> Package Manager. Click on the + button in the top left corner of the window and select "Add package from git URL". Enter the following URL and click Add. -In Unity navigate to the `Assets > Import Package > Custom Package` menu in the menu bar. Select your `SpacetimeDB.Unity.Comprehensive.Tutorial.unitypackage` file and leave all folders checked. +```bash +https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk.git +``` (See also the [Unity Tutorial](/docs/unity/part-1)) diff --git a/docs/docs/sdks/c-sharp/quickstart.md b/docs/docs/sdks/c-sharp/quickstart.md index 974eecbb246..88783433b31 100644 --- a/docs/docs/sdks/c-sharp/quickstart.md +++ b/docs/docs/sdks/c-sharp/quickstart.md @@ -556,8 +556,8 @@ dotnet run --project client Congratulations! You've built a simple chat app using SpacetimeDB. -You can find the full code for this client [in the C# client SDK's examples](https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/tree/master/examples~/quickstart-chat/client). +You can find the full code for this client [in the C# client SDK's examples](https://github.com/clockworklabs/SpacetimeDB/tree/master/sdks/csharp/examples~/quickstart-chat/client). Check out the [C# client SDK Reference](/docs/sdks/c-sharp) for a more comprehensive view of the SpacetimeDB C# client SDK. -If you are interested in developing in the Unity game engine, check out our [Unity Comprehensive Tutorial](/docs/unity) and [Blackholio](https://github.com/ClockworkLabs/Blackholio) game example. +If you are interested in developing in the Unity game engine, check out our [Unity Comprehensive Tutorial](/docs/unity) and [Blackholio](https://github.com/ClockworkLabs/tree/master/demo/Blackholio) game example. diff --git a/docs/docs/sdks/typescript/quickstart.md b/docs/docs/sdks/typescript/quickstart.md index 30898706376..b6dee1f31df 100644 --- a/docs/docs/sdks/typescript/quickstart.md +++ b/docs/docs/sdks/typescript/quickstart.md @@ -660,7 +660,7 @@ Note that `onInsert` and `onDelete` callbacks takes two arguments: an `EventCont ## Conclusion -Congratulations! You've built a simple chat app with SpacetimeDB. You can find the full source code for the client we've created in this quickstart tutorial [here](https://github.com/clockworklabs/spacetimedb-typescript-sdk/tree/main/examples/quickstart-chat). +Congratulations! You've built a simple chat app with SpacetimeDB. You can find the full source code for the client we've created in this quickstart tutorial [here](https://github.com/clockworklabs/SpacetimeDB/tree/master/sdks/typescript/examples/quickstart-chat). At this point you've learned how to create a basic TypeScript client for your SpacetimeDB `quickstart-chat` module. You've learned how to connect to SpacetimeDB and call reducers to update data. You've learned how to subscribe to table data, and hook it up so that it updates reactively in a React application. diff --git a/docs/docs/unity/index.md b/docs/docs/unity/index.md index 007721bcb26..2eeaa186428 100644 --- a/docs/docs/unity/index.md +++ b/docs/docs/unity/index.md @@ -8,7 +8,7 @@ By the end, you should have a basic understanding of what SpacetimeDB offers for The game is inspired by [agar.io](https://agar.io), but SpacetimeDB themed with some fun twists. If you're not familiar [agar.io](https://agar.io), it's a web game in which you and hundreds of other players compete to cultivate mass to become the largest cell in the Petri dish. -Our game, called [Blackhol.io](https://github.com/ClockworkLabs/Blackholio), will be similar but space themed. It should give you a great idea of the types of games you can develop easily with SpacetimeDB. +Our game, called [Blackhol.io](https://github.com/ClockworkLabs/tree/master/demo/Blackholio), will be similar but space themed. It should give you a great idea of the types of games you can develop easily with SpacetimeDB. This tutorial assumes that you have a basic understanding of the Unity Editor, using a command line terminal and programming. We'll give you some CLI commands to execute. If you are using Windows, we recommend using Git Bash or PowerShell. For Mac, we recommend Terminal. @@ -17,7 +17,7 @@ SpacetimeDB supports Unity version `2022.3.32f1` or later, and this tutorial has - `2022.3.32f1 LTS` - `6000.0.33f1` -Please file an issue [here](https://github.com/clockworklabs/spacetime-docs/issues) if you encounter an issue with a specific Unity version, but please be aware that the SpacetimeDB team is unable to offer support for issues related to versions of Unity prior to `2022.3.32f1 LTS`. +Please file an issue [here](https://github.com/clockworklabs/SpacetimeDB/issues) if you encounter an issue with a specific Unity version, but please be aware that the SpacetimeDB team is unable to offer support for issues related to versions of Unity prior to `2022.3.32f1 LTS`. ## Blackhol.io Tutorial - Basic Multiplayer @@ -32,4 +32,4 @@ First you'll get started with the core client/server setup. For part 2, you'll b If you already have a good understanding of the SpacetimeDB client and server, check out our completed tutorial project! -https://github.com/ClockworkLabs/Blackholio +https://github.com/ClockworkLabs/tree/master/demo/Blackholio diff --git a/docs/docs/unity/part-1.md b/docs/docs/unity/part-1.md index 230bb95aed0..15b1a13751f 100644 --- a/docs/docs/unity/part-1.md +++ b/docs/docs/unity/part-1.md @@ -6,7 +6,7 @@ Need help with the tutorial? [Join our Discord server](https://discord.gg/spacet > A completed version of the game we'll create in this tutorial is available at: > -> https://github.com/ClockworkLabs/Blackholio +> https://github.com/ClockworkLabs/tree/master/demo/Blackholio ## Prepare Project Structure @@ -87,4 +87,4 @@ Our Unity project is all set up! If you press play, it will show a blank screen, ### Create the Server Module -We've now got the very basics set up. In [part 2](part-2) you'll learn the basics of how how to create a SpacetimeDB server module and how to connect to it from your client. \ No newline at end of file +We've now got the very basics set up. In [part 2](part-2) you'll learn the basics of how to create a SpacetimeDB server module and how to connect to it from your client. diff --git a/docs/docs/unity/part-4.md b/docs/docs/unity/part-4.md index 7e77fc83238..f669bceed6d 100644 --- a/docs/docs/unity/part-4.md +++ b/docs/docs/unity/part-4.md @@ -630,6 +630,6 @@ There's still plenty more we can do to build this into a proper game though. For Fortunately, we've done that for you! If you'd like to check out the completed tutorial game, with these additional features, you can download it on GitHub: -https://github.com/ClockworkLabs/Blackholio +https://github.com/ClockworkLabs/tree/master/demo/Blackholio -If you have any suggestions or comments on the tutorial, either open an issue in our [docs repo](https://github.com/ClockworkLabs/spacetime-docs), or join our Discord (https://discord.gg/SpacetimeDB) and chat with us! +If you have any suggestions or comments on the tutorial, either [open an issue](https://github.com/clockworklabs/SpacetimeDB/issues/new), or join our Discord (https://discord.gg/SpacetimeDB) and chat with us! diff --git a/docs/llms.md b/docs/llms.md index 16ca54f2e47..fa5e15ec958 100644 --- a/docs/llms.md +++ b/docs/llms.md @@ -1608,7 +1608,7 @@ This section details how to build native C# client applications (including Unity cd my_csharp_client dotnet add package SpacetimeDB.ClientSDK ``` -* **For Unity:** Download the latest `.unitypackage` from the [SpacetimeDB Unity SDK releases](https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/releases/latest). In Unity, go to `Assets > Import Package > Custom Package` and import the downloaded file. +* **For Unity:** Add the SDK to the Unity package manager by the URL: https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk. #### 2. Generate Module Bindings