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

发布8886

热门作品推荐
glow
【更新】Ice World 2.0.4冰纹理湖泊河流表
glow
LanFang Character 适配UE4.26+ RPG游戏角
glow
Zombie Apocalypse City Pack 1.0 僵尸城市
glow
Stylized Grass Shader 1.2.2 类似塞尔达卡
glow
Stylized Paradise Gardens 适配UE5.5风格
glow
Ascent Combat Framework (ACF) - C++ Acti
glow
Sourwood Trees 适配UE5.5苏木树木自然森林
glow
Frozen Norse Environment 适配UE5.4 冬季
glow
金政基透视空间绘画图解动漫场景构图Space
glow
法海寺壁画白描彩图工笔画线稿水月观音壁画