OneJS 1.3.5 u3d

2022-12-01 0 175

OneJS 1.3.5 u3d

 

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.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本
内置渲染管线
通用渲染管线(URP)
高清渲染管线(HDRP)
2022.1.15f1
兼容
兼容
兼容
其他兼容性信息

OneJS provides scripting capabilities. You can use whichever SRP with it.

描述

Website & Documentation • Discord • Youtube • Twitter • Forum Thread

(Familiarity with React and Typescript is recommended)

The biggest benefit of OneJS is the ability to design your UI with the React (JSX) workflow. We achieve this by providing a thin layer of “dom” for Preact. Under the hood, it’s just pure UIElements, so things will be very performant. UI Toolkit’s controls, events, vector API, and styles all just work out of the box.

With OneJS, there’s no more C# scripts to compile everytime you change some UI code. You will have super fast iteration time, especially with the built-in Live Reload.

Besides UI, you can also easily use OneJS to build Addon systems for your players, so they can also have the power of Typescript + JSX + CSS to create addons/mods/contents for your game.

技术细节

Requirements

– Unity.Mathematics

– 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.

相关的关键字
javascript
react
UI
GUI
typescript
modding
Scripting

资源下载此资源仅限包年VIP下载,请先
发表评论
暂无评论

您没有权限,请先登录后查看

我知道了