Try SpatialOS

Sites

Menu

Using the C# worker SDK

The C# worker API closely mirrors the C++ worker API. For the full API reference, check C# API reference documentation.

Overview

The most important units of functionality in the C# worker API are:

  • The Improbable.Worker.Locator, which is responsible for querying for and connecting to remote cloud deployments.
  • The Improbable.Worker.Connection, which represents a worker’s connection to a SpatialOS simulated world.
  • The Improbable.Worker.Dispatcher, which is responsible for invoking user-provided callbacks based on data received from SpatialOS via the Improbable.Worker.Connection.
  • The Improbable.Worker.Entity, which is a container for the component data associated with a single entity.

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums