OneJS

About OneJS – Unity Editor Tool & Plugin

Unity UI Toolkit Scripting with React and TypeScript

OneJS integrates JavaScript in Unity without relying on an embedded browser or webview. By connecting a purpose-built QuickJS engine directly to UI Toolkit, the system enables developers to author editor tools and runtime interfaces using familiar web development workflows. It eliminates domain reload delays during interface design through hot reloading in both Edit and Play modes.

Architecture and Component Features

The package pairs modern front-end build tools with Unity's native UI hierarchy to ensure responsive interface execution:

By bypassing webviews and mapping layout logic to VisualElements, the framework provides a structured approach for Unity React UI development across runtime game projects and custom editor extensions.

Use Cases

FAQ

Does the asset require a web browser component to display interfaces?

No. The system renders directly to Unity VisualElements via a custom reconciler, eliminating the performance overhead and memory footprint of embedded browsers.

How does the build pipeline process web dependencies?

An external Node.js environment utilizes esbuild to compile TypeScript files, resolve npm modules, and process styling sheets into a unified script bundle readable by the engine.

Can the scripting runtime interact with custom C# scripts?

Yes. The architecture includes zero-allocation C# interop bindings that permit bi-directional data flow between native C# game systems and the JavaScript environment.

Asset Details & Specifications

CategoryTools / GUI
Latest Versionv3.9.13 (5 tracked releases)
File Size10.62 MB
Added to PlatformAugust 20, 2026
Views7 views
Downloads6 downloads
Favourites0 favourites
Official StoreBuy Original License on Unity Asset Store →
Issue with Package?Report Broken Link →

Real Import Test Result (Unity Editor Verified)

Tested on6000.0.32f1 (Unity 6)
Test ProjectBuilt-in Render Pipeline
Test Date2026-11-04
Import ResultImported cleanly
Import Duration31 s
Files Imported420
Size on Disk10.9 MB
Console Errors0
Console Warnings0
Required PackagesNone
Missing Scripts0

Developers Who Downloaded This Also Downloaded

Related Unity Tools Assets