반응형
PlayerInputComponent->BindAction(TEXT("Dash_W"),
IE_Pressed, this, &UPlayerMove::DoubleClick<DashType::W>);
template<DashType type>
void DoubleClick() { DoubleClick(type); }
void DoubleClick(DashType dashType);
직접적으로 인자를 받을수는 없기 때문에 한단계에 걸쳐서 위와 같이 인자를 보내주면 됨
반응형
LIST
'UE5' 카테고리의 다른 글
UE 멀티플레이 함수 동기화 (0) | 2023.04.29 |
---|---|
UE C++ 총기 명중률 (0) | 2023.04.29 |
UE 블렌드 포즈 (0) | 2023.04.25 |
UE C++ LineTraceSingle (0) | 2023.04.18 |
UE Setting Niagara User Parameters in C++ (0) | 2023.04.17 |