Skip to main content

UgsCloudCode

14 tools in this family (folder Editor/Tools/UgsCloudCode/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
ugs_cloud_code_apply_templatewritesGenerate a Cloud Code function from one of 8 opinionated templates and ALSO install a matching
ugs_cloud_code_call_functionwritesInvoke a deployed Cloud Code MODULE FUNCTION — the modern lambda-style entry point. The function
ugs_cloud_code_call_scriptwritesInvoke a legacy Cloud Code SCRIPT (one function per upload, deprecated in favour of modules but
ugs_cloud_code_export_setupread-onlyExport the complete Cloud Code setup as a portable JSON document: identity (player_id,
ugs_cloud_code_generate_csharp_wrapperwritesGenerate a strongly-typed C# wrapper for one Cloud Code function. The emitted source declares
ugs_cloud_code_generate_deploy_scriptwritesGenerate a bash deploy script that wraps ugs cloud-code modules deploy for one module. The
ugs_cloud_code_generate_module_scaffoldwritesGenerate a complete JS/TS Cloud Code module project under CloudCode/<module_name>/ — package.json,
ugs_cloud_code_get_call_historyread-onlyReturn the tail of the Cloud Code call log — one entry per call_function / call_script /
ugs_cloud_code_get_function_schemaread-onlyReturn the full record for one Cloud Code function — name, description, input JSON Schema, output
ugs_cloud_code_initwritesInitialize UGS Cloud Code. Verifies UGS Authentication is initialized and the player is signed in
ugs_cloud_code_list_functionsread-onlyList every function inside a Cloud Code module — name + description + (when known) input / output
ugs_cloud_code_list_modulesread-onlyList every Cloud Code module known to the runtime — pre-seeded demos (daily_rewards / admin_tools
ugs_cloud_code_register_mockwritesRegister an in-Editor mock handler for a Cloud Code function. Useful when iterating on a function
ugs_cloud_code_test_function_locallywritesForce-run a Cloud Code function against the in-Editor mock dispatcher (bypassing the real SDK even