Skip to content

Scripting Modes

Scriptum offers two complementary ways to write and run C# inside Unity. Pick the mode that fits your workflow, or switch between them anytime from the console toolbar.

Editor Mode in Scriptum
Structured scripting

Editor Mode

Write multi-line scripts, define classes, and build session logic like a real C# file. Ideal for reusable utilities, setup flows, and anything that needs structure.

  • Full class and method definitions
  • Classes Hub and Eval Result panel
  • Entry template or freeform coding
Read more
REPL Mode in Scriptum
Live execution

REPL Mode

Type a line, hit Enter, see the result. A real-time command console for Play Mode debugging, quick experiments, and live object manipulation.

  • One-liners and instant feedback
  • Live Variables and built-in commands
  • No classes or entry point required
Read more

Switching modes

Use the toolbar at the top of the Scriptum Console to switch between Editor and REPL. Each feature in the documentation states which mode it supports.