- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
打开动画蓝图的EventGraph 按住b 添加Branch节点 判断是否按下punch 添加DoOnce节点 保证后续的操作只执行一次 除非松开Punch重置该节点
![](https://img.haomeiwen.com/i6852467/c0f14f34604cc005.png)
右键 添加custom event 命名为Punch 连接Montage Play 设置asset属性为之前创建的资源文件 doOnce 连接调用CallFunction/Punch
![](https://img.haomeiwen.com/i6852467/094e61bc90558498.png)
右键搜索之前添加的两个Notify 根据isPunching 变量来决定是否跳转到下一个Section 涉及到Montage Set NextSection 修改里面的当前section 和NextSection
![](https://img.haomeiwen.com/i6852467/1d322d5afc627d81.png)
网友评论