编辑器/功能拓展
道具
Unity 2021
ReactUI allows you to design and manage user interfaces with a state-of-art, modern and powerful framework: React. Not only: it allows you to use all tools and plugins you use in web development to implement a game's user interface.
Speaking about tooling, it comes with a pre-set environment composed by:
- webpack as bundling/building system
- Less as CSS super-set
- Babel as Javascript transpiler, so your Javascript code can run on old browsers too
- React as Virtual DOM rendering engine
It comes with a powerful and extensible event system, that allows you to easily raise and manage events from the game or the UI. This is possible thanks to a special Javascript/C# bridge, integrated in the package.
Last, but not least, it comes with a little game sample that shows you simple interactions from game => UI or from UI => game.
This plugin is specific for WebGL-based games!
ReactUI 允许您使用先进、现代且强大的框架 React 来设计和管理用户界面。不仅如此,它还允许您使用 Web 开发中使用的所有工具和插件来实现游戏的用户界面。
说到工具,它预置了一个由以下组件组成的环境:
- webpack 作为打包/构建系统
- Less 作为 CSS 超集
- Babel 作为 JavaScript 转译器,让您的 JavaScript 代码也能在旧版浏览器上运行
- React 作为虚拟 DOM 渲染引擎
它配备了强大且可扩展的事件系统,让您可以轻松地从游戏或 UI 中触发和管理事件。这得益于包中集成的特殊 JavaScript/C# 桥接器。
最后,同样重要的是,它附带一个小游戏示例,向您展示了游戏 => UI 或 UI => 游戏的简单交互。
此插件专为基于 WebGL 的游戏而设计!
|
|