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

发布9419

热门作品推荐
glow
Anime Sakura Simulator校园生活模拟游戏
glow
Stylized Magical Haunted Village 适配UE5
glow
Stylized Medieval House适配UE4.27+风格化
glow
Stylized Perched Church 适配UE4.27+ 风格
glow
Darker Nodes 3.6 适配UE5.6
glow
【更新】Realistic Car Controller Pro 1.7
glow
【更新】LIQUA Volumetric Fluids 1.5.1液
glow
Sick cat Doctor Treatment unity3d androi
glow
【更新】RoomGen - Procedural Generator 2
glow
日韩武器低模剑灵2次时代刀剑冷兵武器模型P