脚本/功能 【更新】OneJS 1.5.9

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


OneJS 系列索引:

OneJS 1.3.5  下载链接
OneJS 1.6.10  下载链接









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(JJSX)工作流来设计你的UI。我们通过为Preact提供一个薄薄的 "dom "层来实现这一点。在引擎盖下,它只是纯粹的UIElements,所以事情会很有表现力。UI Toolkit的控件、事件、矢量API和样式都是开箱即用的。

有了OneJS,就不会再有C#脚本在你每次改变UI代码时进行编译。你将拥有超快的迭代时间,尤其是内置的Live Reload。

除了UI,你还可以轻松地使用OneJS为你的玩家建立Addon系统,这样他们也可以拥有Typescript + JSX + CSS的力量来为你的游戏创建addons/mods/contents。






作者 cg小白兔 发表于 2023-5-15 15:34:59
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布9681

热门作品推荐
glow
KUBIKOS - Cube Monsters 1.0 立方体卡通怪
glow
沙滩沙地泥土水泥布矢量位移笔刷CLOTH VECT
glow
sp高细节划痕污点污渍水渍灰尘油漆纹理High
glow
City Skyline 2 城市建筑模型高楼大厦
glow
树叶蕨类柳枝条常春藤曲线笔刷Zbrush leaf
glow
服饰亮片珠饰花纹30 Sequin & Beed Work pa
glow
6个树叶子雕刻笔刷zbrush蔷薇花朵花瓣笔刷
glow
Sword Slash 1.0 刀光刀剑砍杀特效
glow
115组树皮和木材笔刷木头木质木纹树纹理雕
glow
次世代武器合集魔幻韩游冷兵器模型弓箭盾牌