OneJS is a Scripting Engine and UI Solution specifically designed for Unity. It is lightweight, performant, pure C# based, has first-class Typescript support, and works everywhere.
Technical details
Requirements
– Unity.Mathematic
– Unity Version 2021.3+ (for stable UI Toolkit)
– Unity Version 2022.1+ (if you need to use UI Toolkit’s Vector API)
Feature Highlights
Use Typescript & JSX for UI Development in Unity
Fast Iteration speed with Live Reload (even across multiple devices)
Awesome Performance due to 1-to-1 interop between Preact and UI Toolkit
Runtime CSS Load CSS strings dynamically at runtime!
Tailwind! Utility Classes, Arbitrary Values, and Responsive Breakpoints are supported.
Async/Await & C# Task are supported
Preact Signals works out of the box
TS Definitions for tons of UnityEngine and UIElements types. We also provide an C#-to-TS Type Converter that will make your Typing life much easier.
Works Everywhere (Mac, Windows, iOS, Android, Editor, Standalone, Mono, Il2cpp)
Built-in Security when you need it. (Should you choose to give your players scripting capabilities, you can set many security settings such as memory limit, call depth, script timeout, among many others, courtesy of Jint)
You will have full access to the C# source code. Library Javascript files (such as Preact and Lodash) will be minified. Private Github repo access can be requested via Discord.
https://assetstore.unity.com/packages/tools/gui/onejs-221317
Reviews
There are no reviews yet.