Overview of OneJS
mainOneJS is a framework for building Unity UIs using React 19 and TypeScript, rendered natively through Unity's UI Toolkit. It operates without a browser or webview, using a purpose-built QuickJS core.
Key features include:
- React 19 + TypeScript with esbuild bundling.
- Hot reload support in both Edit mode and Play mode.
- Styling options: USS, CSS Modules, and a built-in Tailwind-style JIT generator.
- Full C# interop: Access C# types directly from JS, including zero-alloc fast paths for per-frame data.
- Cross-platform: Runs via QuickJS on Desktop, Mobile (iOS/Android), and via the browser's JIT engine on WebGL.