#include <CK_BPFunctionLibrary.h>
◆ Activate()
| void UCK_DelayedForLoopAction::Activate |
( |
| ) |
|
|
overridevirtual |
25{
27 {
29 SetReadyToDestroy();
30 return;
31 }
32
36}
void ScheduleNext()
Definition CK_BPFunctionLibrary.cpp:39
int32 CurrentIndex
Definition CK_BPFunctionLibrary.h:50
int32 Count
Definition CK_BPFunctionLibrary.h:49
FDelayedForLoopOutputPin OnLoop
Definition CK_BPFunctionLibrary.h:30
FDelayedForLoopOutputPin OnCompleted
Definition CK_BPFunctionLibrary.h:33
◆ DelayedForLoop()
| UCK_DelayedForLoopAction * UCK_DelayedForLoopAction::DelayedForLoop |
( |
UObject * |
WorldContextObject, |
|
|
int32 |
Count, |
|
|
float |
Delay |
|
) |
| |
|
static |
Count 횟수만큼 Delay 간격으로 반복함.
- 매개변수
-
| Count | 반복 횟수 |
| Delay | 각 반복 사이 대기 시간 (초) |
13{
19 Action->RegisterWithGameInstance(WorldContextObject);
20 return Action;
21}
Definition CK_BPFunctionLibrary.h:25
float Delay
Definition CK_BPFunctionLibrary.h:51
TWeakObjectPtr< UObject > CachedWorldContext
Definition CK_BPFunctionLibrary.h:55
◆ ScheduleNext()
| void UCK_DelayedForLoopAction::ScheduleNext |
( |
| ) |
|
|
private |
40{
41 auto Function = [this](float) -> bool
42 {
44 {
46 SetReadyToDestroy();
47 return false;
48 }
49
52 return true;
53 };
54
55 auto DelyedLambda = FTickerDelegate::CreateWeakLambda(this, Function);
57}
FTSTicker::FDelegateHandle TickerHandle
Definition CK_BPFunctionLibrary.h:57
◆ CachedWorldContext
| TWeakObjectPtr<UObject> UCK_DelayedForLoopAction::CachedWorldContext |
|
private |
◆ Count
| int32 UCK_DelayedForLoopAction::Count = 0 |
|
private |
◆ CurrentIndex
| int32 UCK_DelayedForLoopAction::CurrentIndex = 0 |
|
private |
◆ Delay
| float UCK_DelayedForLoopAction::Delay = 0.f |
|
private |
◆ OnCompleted
| FDelayedForLoopOutputPin UCK_DelayedForLoopAction::OnCompleted |
◆ OnLoop
| FDelayedForLoopOutputPin UCK_DelayedForLoopAction::OnLoop |
◆ TickerHandle
| FTSTicker::FDelegateHandle UCK_DelayedForLoopAction::TickerHandle |
|
private |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: