Media preview
Media thumbnail
Media thumbnail
Description
Changelog
Reviews (0)

UnityCS is a Godot 4 plugin that lets you write game scripts in C# with a Unity-style API. It converts them to GDScript, which Godot runs natively, so you don't need .NET.

What it does

  • Adds a "C# Unity" editor tab with syntax highlighting, autocomplete, snippets, and a live syntax checker.
  • Converts each .cs file to a .gd file with the same name, on save, on file change, and on Play.
  • If your C# has a syntax error, it keeps the last working .gd instead of breaking the game.
  • Adds a "UnityCS" section in the Inspector to attach a .cs script to a node.
  • Maps common Unity code to Godot: lifecycle methods (Start, Update, FixedUpdate), transform, Input, Mathf, Instantiate/Destroy, coroutines (yield return), PlayerPrefs, scene loading, and trigger/collision callbacks.
  • Includes touch input support.

How to use it

  1. Copy addons/unity_cs_gd into your Godot 4 project's addons/ folder.
  2. Enable it in Project Settings > Plugins.
  3. Write .cs scripts outside addons/.
  4. Attach the script to a node in the Inspector, then press Play.

Limits

  • It supports a subset of Unity's API, not all of it.
  • The syntax check is basic. Type errors show up at runtime.
  • Warnings appear for unsupported features, such as OnTriggerStay and OnMouseDown.
  • Don't edit the generated .gd files, because the next conversion overwrites them.

Changelog for version v1.0.8

2026-11-11 22:17:00

No changelog provided for this version.

Reviews

Unity CS has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.