找回密码
 立即注册
查看: 24|回复: 0

Key_Prompt 新手按键引导使用说明

[复制链接]

1

主题

0

回帖

13

积分

管理员

积分
13
发表于 前天 10:02 | 显示全部楼层 |阅读模式
模版能添加到任意项目,版本支持5.5-5.7,扩展性强
The template can be added to any Unreal Engine project.
Supported versions: 5.5 – 5.7
Highly extensible and easy to customize.
最终效果:
Final result:


文件结构:Folder Structure

KeyPrompt (Main Folder)主文件夹

├── Data      (Data structure assets)数据结构文件夹
├── Demo      (Demo examples)演示文件夹
├── Texture   (Textures)纹理
└── UMG       (UI widgets)界面

数据结构:Data Structure



UMG:操作方法
         需要把WBP_Key_Mian这个控件添加到自己的UMG界面上,并且调整高宽,设置大小到内容
UMG – Setup Instructions
Add the widget WBP_Key_Main to your own UMG interface.
After adding it:
  • Adjust Width and Height as needed
  • Set Size To Content (recommended)


蓝图:操作方法
        获取到WBP_Key_Mian的引用,添加函数:添加_Key_Prompt 即可完成,删除函数名:删除_Key_Prompt
Blueprint – Setup Instructions
  • Get a reference to WBP_Key_Main
  • Call the function:

     Add_Key_Prompt
To remove a key prompt, call:
     Remove_Key_Prompt


参数解释:Parameter Explanation


按键名称:参照Data/DT_Key的行名称,行名称和图片是对应的(分割符号为  +  )
按键大小:显示按键的大小
提示文本:按键下方提示的文本
文本大小:显示文本的大小
文本颜色:文本的颜色
Key Name
Corresponds to the Row Name in Data/DT_Key.
The row name must match the image name.
The separator symbol is: +
Key Size
Controls the display size of the key icon.
Prompt Text
The descriptive text displayed below the key.
Text Size
Controls the font size of the prompt text.
Text Color
Defines the color of the prompt text.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|虚幻引擎_论坛

GMT+8, 2026-3-2 17:02 , Processed in 0.057532 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表