OneJS: Unity UI Development Made Easy

OneJS is a Unity package that enables developers to leverage web technologies like React, Typescript, and Tailwind in their Unity projects. It provides a thin DOM layer for Preact, allowing for fast iteration speed and live reload. With OneJS, developers can create high-performance UIs using UI Toolkit and take advantage of features like styled components, runtime CSS, and zero-allocation interop. The package also supports multiple backends, including QuickJS, V8, and NodeJS, and comes with an ESBuild workflow for simplified bundling and npm package support. OneJS is ideal for developers familiar with React and Typescript, and is suitable for Unity projects that require high-performance UI development.

OneJS also enables easy implementation of modding systems, allowing players to create addons and mods for games using TypeScript, JSX, and USS. This feature opens up new possibilities for game development and community engagement.

Overall, OneJS is a powerful tool for Unity developers looking to create high-performance UIs and modding systems using web technologies.

Requirements:

  • Unity.Mathematics
  • Unity.Burst
  • Unity Version 2021.3+ (for stable UI Toolkit)
  • Unity Version 2022.1+ (if you need to use UI Toolkit's Vector API)

Platforms:

  • Supported on Windows, Mac, iOS, and Android

Feature Highlights:

  • Typescript & JSX for UI Development in Unity
  • Fast Iteration speed with Live Reload
  • Awesome Performance due to 1-to-1 interop between Preact and UI Toolkit
  • Tailwind workflow and Compiler support
  • Styled Components and Emotion APIs are built-in
  • Runtime CSS Load CSS strings dynamically at runtime!
  • Zero-Allocation Interop via Puerts optimizations
  • Easily swap between 3 backends: QuickJS (small footprint), V8 (high performance), or NodeJS (full ecosystem)
  • ESBuild Workflow for simplified bundling and npm package support
  • Auto TS Definitions Generation

OneJS: Unity UI Development Made Easy - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Deep-Level Unity Debugging Made Easy

Deep-Level Unity Debugging Made Easy Thumbnail

Utility Designer: AI Development Made Easy

Utility Designer: AI Development Made Easy Thumbnail

UI Hierarchy Radar: Simplify UI Development in Unity

UI Hierarchy Radar: Simplify UI Development in Unity Thumbnail

Easy Dynamic UI Elements for Unity

Easy Dynamic UI Elements for Unity Thumbnail

EasyGameUI: A Customizable UI Framework for Unity

EasyGameUI: A Customizable UI Framework for Unity Thumbnail

Meta XR All-in-One SDK: A Unified VR Development Package

Meta XR All-in-One SDK: A Unified VR Development Package Thumbnail