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

发布8896

热门作品推荐
glow
Vegetation Pack (Vegetations Trees Bushe
glow
【更新】Airport Runway Textures 2.0模块
glow
ArchVizPRO Interior Vol8 HDRP 现代室内房
glow
【更新】World Streamer 2 1.8
glow
【更新】Game Creator 2 2.17.55
glow
【更新】Dog Pack - Synty POLYGON - Dog a
glow
Ascent Toolset (ATS) V 2.2 - Quests, Dia
glow
Ascent Toolset (ATS) V 2.2 - Quests, Dia
glow
30 Preacher NPC Mocap Animations 适配UE4
glow
505 Survival Mocap Animations 适配UE5.1