Cloud Code supports two languages: JavaScript, written as scripts in the dashboard, or C#, written as modules. Either option can be called from a game built in Unity, or from any other client or server.
What languages can I use with Cloud Code?
You can write JavaScript scripts directly in the dashboard, or C# modules for more complex logic. Either option can be called from a game built in Unity, or from any other client or server.
How do JavaScript scripts work?
Cloud Code scripts are written in JavaScript in the dashboard.
How do C# modules work?
Modules are C# libraries that the Cloud Code service can run to give you reusable server authoritative code. Unlike single scripts, these modules allow for multiple entry points and easier code reuse within the module.
You can also create a main library and a data transfer object (DTO) library that both Cloud Code and your game can use to ensure that all data you transfer between the Cloud Code client and your game use the same format.