Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdks/csharp/DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We are in the process of moving from the `com.clockworklabs.spacetimedbsdk` repo

# Notes for maintainers

First, see the [user-facing docs](https://spacetimedb.com/docs/sdks/c-sharp).
First, see the [user-facing docs](https://spacetimedb.com/docs/clients/c-sharp).

## Developing against a local clone of SpacetimeDB
When developing against a local clone of SpacetimeDB, you'll need to ensure that the packages here can find an up-to-date version of the BSATN.Codegen and BSATN.Runtime packages from SpacetimeDB.
Expand Down Expand Up @@ -64,7 +64,7 @@ Roughly speaking, code pertaining to specific tables should live in `Table.cs`,

### Threading model

The C# SDK, unlike the [Rust SDK](https://github.com/clockworklabs/SpacetimeDB/tree/master/crates/sdk), **assumes a DbConnection is only accessed from a single thread**. This thread is referred to as the "main thread". The "main thread" is:
The C# SDK, unlike the [Rust SDK](https://github.com/clockworklabs/SpacetimeDB/tree/master/sdks/rust), **assumes a DbConnection is only accessed from a single thread**. This thread is referred to as the "main thread". The "main thread" is:
- Whichever thread is repeatedly calling `DbConnection.FrameTick()` in a loop.
It is **only safe to call `FrameTick()` from a single thread**. It is **only safe to access the DbConnection from this thread**.
(Note: we should write about this in the public docs!)
Expand Down
4 changes: 2 additions & 2 deletions sdks/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ This repository contains the C# and [Unity](https://unity.com/) client SDKs for

## Documentation

The Unity SDK uses the same code as the C# SDK. You can find the documentation for the C# SDK in the [C# SDK Reference](https://spacetimedb.com/docs/sdks/c-sharp). For a guided tutorial, see the [C# SDK Quickstart](https://spacetimedb.com/docs/sdks/c-sharp/quickstart).
The Unity SDK uses the same code as the C# SDK. You can find the documentation for the C# SDK in the [C# SDK Reference](https://spacetimedb.com/docs/clients/c-sharp). For a guided tutorial, see the [C# SDK Quickstart](https://spacetimedb.com/docs/quickstarts/c-sharp).

There is also a comprehensive Unity tutorial/demo available:
- [Unity Tutorial](https://spacetimedb.com/docs/unity/part-1) Doc
- [Unity Tutorial](https://spacetimedb.com/docs/tutorials/unity/part-1) Doc
- [Unity Demo](https://github.com/clockworklabs/SpacetimeDB/tree/master/demo/Blackholio) Repo

## Internal developer documentation
Expand Down
Loading