This package integrates Google Antigravity as the external code editor for Unity.
- Auto-Discovery: Automatically finds your Antigravity installation on macOS, Windows, and Linux.
- IntelliSense: Generates
.slnand.csprojfiles to provide complete C# IntelliSense and Unity API support inside Antigravity. - Workspace Setup: Automatically creates
.vscode/workspace config files (launch.json,settings.json,extensions.json) that Antigravity reads as a VS Code-based editor. - Reuse Window: Optional setting to open files in an already-running Antigravity window instead of launching a new one.
Install via Unity Package Manager using the git URL:
- Open
Window > Package Manager - Click
+→ Add package from git URL... - Enter:
https://github.com/BadranRaza/com.unity.ide.antigravity.git - Click Add
The package will appear in Package Manager and can be updated from there when new versions are released.
Alternative: If you cloned the repo locally, use
+ → Add package from disk...and point to thepackage.json.
- Go to
Unity > Preferences > External Tools(macOS) orEdit > Preferences > External Tools(Windows) - Select Antigravity from the External Script Editor dropdown
- Choose which package types should have
.csprojfiles generated - Click Regenerate project files to apply
When Antigravity is selected as the editor, a "Reuse existing Antigravity window" toggle appears in Preferences. When enabled, double-clicking a script in Unity will open it in an already-running Antigravity instance instead of launching a new one.
- Workspace config is written to
.vscode/in your Unity project root — Antigravity reads these as a VS Code fork. - Extensions are looked up from
~/.antigravity/extensions/— Antigravity's native user-level extension directory. - Window reuse works by reading Antigravity's
workspaceStorageto find which workspace a running instance has open.
- Unity 2019.4 or later
- Antigravity IDE installed (antigravity.google)