脚本/功能 【更新】OneJS 1.3.5 脚本引擎UI解决方案

Unity插件信息
插件名称: OneJS
插件官网: https://assetstore.unity.com/packages/tools/gui/onejs-221317
版本: 1.3.5
解压密码:
素材类型: 脚本/功能













OneJS is a Scripting Engine and UI Solution specifically designed for Unity. It is lightweight, performant, pure C# based, has first-class Typescript support, and works everywhere.

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是一个专门为Unity设计的脚本引擎和UI解决方案。它是轻量级的,高性能的,纯C#的,有一流的Typescript支持,并且可以在任何地方工作。

OneJS最大的好处是能够用React(JsX)工作流来设计你的UI。我们通过为Preact提供一个薄薄的 "dom "层来实现这一点。在引擎盖下,它只是纯粹的UIElements,所以事情将是非常有效的。UI Toolkit的控件、事件、矢量API和样式都是开箱即用的。

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

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




作者 cg小白兔 发表于 2022-11-25 21:23:06
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布3924

热门作品推荐
glow
City & Terrace Pack 9.0 现代城市高楼大厦
glow
【更新】Rhythm Game Starter - Create you
glow
【更新】Advanced Horror FPS Kit for Mobi
glow
Demolition Media Hap 0.9.6视频播放工具
glow
Forest Environment - Dynamic Nature 1.8.
glow
高质量手绘低模写实主城场景建筑物件山石模
glow
中国风武侠场景建筑圆盘法阵山石头花草树木
glow
手绘植物模型半写实花草地形3D模型
glow
仙侠风格雕像神兽玄武白虎石台雕塑石狮子
glow
45 Stylized Rock Pack 适配UE4.19-4.25-4.