脚本/功能 【更新】OneJS 1.6.10

Unity插件信息
插件名称: OneJS
插件官网: https://assetstore.unity.com/packages/tools/gui/onejs-221317
版本: 1.6.10
解压密码:
素材类型: 脚本/功能
本帖最后由 微笑的猫 于 2024-8-7 11:12 编辑


OneJS 系列索引:

OneJS 1.3.5  下载链接
OneJS 1.5.9  下载链接


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.



OneJS 最大的優點在於可以使用 React (JSX) 工作流程來設計您的 UI。我們透過為 Preact 提供一層薄薄的「dom」來達成這一目標。在引擎蓋下,它只是純粹的 UIElements,所以事情會非常有效率。UI Toolkit 的控制、事件、向量 API 以及樣式都是開箱即用的。

有了 OneJS,每次更改 UI 程式碼時,再也不需要編譯 C# scripts 了。您將擁有超快的迭代時間,尤其是內建的 Live Reload。

除了 UI 之外,您也可以輕鬆地使用 OneJS 為您的玩家建立 Addon 系統,讓他們也能擁有 Typescript + JSX + CSS 的強大功能,為您的遊戲建立附加元件/mods/內容。




作者 cg小白兔 发表于 2024-8-2 14:43:08
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布7835

热门作品推荐
glow
Ragdoll dismemberment system 2.1布娃娃肢
glow
Amplify Shader Editor 1.9.8.1
glow
Mega-Fiers 3.53 模型网格动画自定义变形弯
glow
唐代著名画家吴道子绘画作品八十七神仙卷送
glow
60款中式古典花纹中国风传统背景喜庆图案无
glow
Modular Castle & Dungeon 适配UE5.3+中世
glow
Modular Wild West Town 适配UE5.3+模块化
glow
Modular Castle (Castle, Castles, Modular
glow
Modular Desert Town - Desert City - Dese
glow
Flame Thrower Robot 适配UE5.5+科幻火焰喷