Unreal Engine虚幻游戏引擎素材资源 Unreal Engine Marketplace –Modular Menu System模块化菜单系统
Modular Menu System
UE4的模块化菜单系统(MMS)允许您仅使用Blueprint节点来构建基于UMG的菜单。你不需要在UMG编辑器中手动布局菜单。相反,您可以通过简单的BP节点添加菜单元素。这使您可以在几分钟内构建菜单,而不是几个小时。目前,彩信支持以下标准菜单元素:
特征:
•按钮
•复选框
•组合框
•滑块
•文本行
•输入文本
•文本滚动框
•通用滚动框
•图像
•定制小工具
技术细节
MMS的基本工作流程如下:创建一个(空的)菜单对象,添加所有您喜欢的元素,最后将菜单显示给用户(viewport)。根本不需要触摸UMG编辑器,一切都是通过BP节点完成的。它包括菜单本身的大小和填充值,在一列或多列中布局菜单元素,包括它们的填充、间距和对齐值等。
MMS还附带了一个内置的事件系统,这样单击按钮、更改组合框选择以及类似的所有自定义事件都会触发,开发人员可以在自定义事件处理程序中响应这些事件。或者,您也可以随时获取和设置所有菜单元素的状态。
最后但并非最不重要的是,我们还支持我们的菜单系统主题和自定义颜色。彩信包括一些现成的主题(见截图)。用户可以使用这些主题,动态更改它们的颜色,或者从头开始创建新的主题。
The Modular Menu System (MMS) for UE4 allows you to build UMG-based menus by using Blueprint nodes only. You don’t need to layout your menus manually in the UMG editor. Instead, you add menu elements via simple BP nodes. This allows you to build your menus in minutes, instead of hours. Currently the MMS supports the following standard menu elements:
Features:
• Buttons
• Checkboxes
• Combo Boxes
• Sliders
• Text Lines
• Text Input
• Text Scroll Boxes
• Generic Scroll Boxes
• Images
• Custom Widgets
技术细节
The basic workflow with the MMS is as follows: You create an (empty) menu object, add all the elements to it that you like, and finally show the menu to the user (viewport). No need to to touch the UMG editor at all, everything is done via BP nodes. That includes the size and padding values of the menu itself, laying out the menu elements in one or more columns, including their padding, spacing and alignment values, and similar.
The MMS also ships with a built-in event system, so that clicks on buttons, changes of combo box selections and alike all fire custom events, which the developer can respond to in a custom event handler. Alternatively one can also get and set the state of all menu elements at any time.
Last but not least we also support themes and custom colors for our menu system. The MMS includes some ready-made themes (see screenshots). The user can use those themes, change their colors dynamically, or create new themes from scratch.

隐藏内容

此处内容需要权限查看

  • 普通5金币
  • 会员免费
会员免费查看