脚本/功能 【更新】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

发布8213

热门作品推荐
glow
Real Landscapes - Valley Forest 1.0.2冬
glow
TriLib 2 - Model Loading Package 2.1.6
glow
Trails FX 1.6.2 平滑轨迹 拖尾特效
glow
金属边缘受损破损皮革Layering old metal,
glow
逼真低多边形岩石包Game and render ready
glow
高质量无缝地形岩石雕刻笔刷Ultra HQ Terra
glow
40种恐龙爬行动物鳄鱼皮肤笔刷 40 Dragons
glow
Procedural Forest 适配UE5.0枯木冬季森林
glow
【更新】DunGen 2.17.4地牢生成工具
glow
80个昆虫生物画笔Zbrush + Blender - 80 In