보키_기록용
ABILITYLIST_SCOPE_LOCK 본문
Lyra 보다가 나온 매크로.
ABILITYLIST_SCOPE_LOCK();
for(const FGameplayAbilitySpec& AbilitySpec : ActivatableAbilities.Items)
{
...
}
주로 ActivatableAbilities.Items을 반복문에 쓸 때 저렇게 위에다 쓴다.
반복하는 동안 Ability를 취소하거나 종료하는 것으로 인해 목록이 변경되지 않도록 잠그기 위해 위에다 쓴다.
GitHub - tranek/GASDocumentation: My understanding of Unreal Engine 4's GameplayAbilitySystem plugin with a simple multiplayer s
My understanding of Unreal Engine 4's GameplayAbilitySystem plugin with a simple multiplayer sample project. - GitHub - tranek/GASDocumentation: My understanding of Unreal Engine 4's Gamepl...
github.com
'언리얼 > MEMO' 카테고리의 다른 글
플러그인 콘텐츠가 콘텐츠 브라우저에 안뜰 때 (0) | 2022.10.14 |
---|---|
언리얼 학습하기 좋은 사이트 (0) | 2022.10.07 |
TFunctionRef (0) | 2022.09.16 |
BlueprintReadOnly should not be on private members (0) | 2022.09.14 |
BlueprintAssignable (0) | 2022.09.01 |
Comments