美文网首页
跟着官网学UE4(提取干货) Blueprint 3rd Per

跟着官网学UE4(提取干货) Blueprint 3rd Per

作者: 镜月s | 来源:发表于2017-07-12 14:58 被阅读43次

打开动画蓝图的EventGraph 按住b 添加Branch节点 判断是否按下punch 添加DoOnce节点 保证后续的操作只执行一次 除非松开Punch重置该节点

右键 添加custom event 命名为Punch 连接Montage Play 设置asset属性为之前创建的资源文件 doOnce 连接调用CallFunction/Punch

右键搜索之前添加的两个Notify 根据isPunching 变量来决定是否跳转到下一个Section 涉及到Montage Set NextSection 修改里面的当前section 和NextSection

相关文章

网友评论

      本文标题:跟着官网学UE4(提取干货) Blueprint 3rd Per

      本文链接:https://www.haomeiwen.com/subject/grebhxtx.html