当前位置:网站首页>Use and difference between ue4\ue5 blueprint node delay and retroggable delay

Use and difference between ue4\ue5 blueprint node delay and retroggable delay

2022-06-25 23:14:00 Blindfold to see the world

Common nodes :Delay、Retriggerable Delay

 

  The usage of these two nodes is equivalent to SetTimeOut Method , Delay how many seconds to execute the operation , The only difference is :

Delay: Specify a time delay for one operation , Calling again during the countdown is invalid ( Time will not be reset )

Retriggerable Delay: The delay time can be triggered again for one operation , The countdown time will be reset to when it is called again during the countdown Time set .

The popular understanding is ,Delay After the node starts the execution, it will not affect the last execution if it calls the execution again

Press the left mouse button repeatedly in two seconds to call Delay, It will print out repeatedly on the screen “Hello” Of log

In turn, ,Retriggerable Delay The node repeatedly calls... In the unexecuted time , Will reset the previous startup

stay 2 Press the left mouse button repeatedly within seconds , Will always execute only the last time .

 

原网站

版权声明
本文为[Blindfold to see the world]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206251950367150.html