当前位置:网站首页>UE4\UE5 蓝图节点Delay与Retriggerable Delay的使用与区别
UE4\UE5 蓝图节点Delay与Retriggerable Delay的使用与区别
2022-06-25 21:57:00 【蒙双眼看世界】
常用的节点之:Delay、Retriggerable Delay


这两个节点的用法相当于SetTimeOut方法,延迟多少秒执行操作,唯一的区别就是:
Delay:指定一个延时的时间进行一次操作,倒计时过程中再次调用无效(时间不会被重置)
Retriggerable Delay:可重新触发延时时间进行一次操作,倒计时过程中再次调用倒计时时间将重置为 设置的时间。
通俗的理解就是,Delay节点在启动执行后再次调用执行就不会影响上一次的执行了

鼠标左键在两秒内重复按下调用Delay,那在屏幕上就会重复地打印出“Hello”的log
反过来,Retriggerable Delay节点在未执行的时间内重复去调用,就会重置之前的启动

在2秒内重复去按鼠标左键,则永远就只会执行最后一次。
边栏推荐
- 汇编语言核心要点
- Chapter 3 use of requests Library
- Oracle - data query
- 腾讯《和平精英》新版本将至:新增账号安全保护系统,游戏内违规行为检测升级
- Another breakthrough! Alibaba cloud enters the Gartner cloud AI developer service Challenger quadrant
- [modulebuilder] GP service realizes the intersection selection of two layers in SDE
- How do I project points on a 3D plane- How to project a point onto a plane in 3D?
- Core points of assembly language
- Utilisation de la classe Ping d'Unity
- What aspects should we start with in the feasibility analysis of dry goods?
猜你喜欢

【ModuleBuilder】GP服务实现SDE中两个图层相交选取

NRM source switching tool

Another breakthrough! Alibaba cloud enters the Gartner cloud AI developer service Challenger quadrant

使用EAST ocr遇到的坑解决方法(编译lanms)

记|一次exists关键字的学习记录

Which PHP open source works deserve attention

How to use JMeter for interface testing

1281_FreeRTOS_vTaskDelayUntil实现分析

Paper notes: multi tag learning MSWl

建立自己的网站(15)
随机推荐
Es6-- set
App test points
Circuit module analysis exercise 6 (switch)
Some reflections on preparing for the Blue Bridge Cup
Es7/es9 -- new features and regularities
使用EAST ocr遇到的坑解决方法(编译lanms)
C language and the creation and use of database
Unity technical manual - getKey and getaxis and getbutton
Oracle - 基本入门
Fastjson deserialization randomness failed
Global and Chinese oleic acid operation mode and market supply and demand forecast report 2022 ~ 2028
2022-2028 global industrial TFT LCD industry survey and trend analysis report
2022年中职组网络安全新赛题
作为一个程序员我们如何快乐的学习成长进步呢?(个人感悟和技术无关)
Flex & Bison Start
The difference between synchronize and volatile
ADB common commands
Thinking while walking
Why can't the mobile phone be used and the computer be connected
多模态数据也能进行MAE?伯克利&谷歌提出M3AE,在图像和文本数据上进行MAE!最优掩蔽率可达75%,显著高于BERT的15%...