Documentation

Cloud Code

Write and run server-side code on a fully managed infrastructure that scales automatically to meet your traffic demands.
Read time 1 minuteLast updated 18 hours ago

Cloud Code is a serverless compute service for game developers who want to run game logic securely in the cloud without managing infrastructure. Cloud Code helps you do the following:
  • Keep game rules and sensitive data off the client to prevent cheating and reverse-engineering.
  • Deploy updates to live games without requiring players to update their installs.
  • Scale automatically to meet traffic demands, paying only for what you use.
  • Integrate multiple Unity services from a single secure server-side environment.
Cloud Code manages all infrastructure for you. You write and deploy code in C# or JavaScript, then call it from your game using the Cloud Code SDK or the Cloud Code Client API. Cloud Code integrates with the following Unity services: For information about integrating Cloud Code with other Unity services, refer to Integrate with Unity services (C# modules) and Integrate with Unity services (JavaScript scripts). For pricing information, refer to C# modules cost and JavaScript scripts cost.