//발동 매소드
virtual void ActivateAbility(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo, const FGameplayAbilityActivationInfo ActivationInfo, const FGameplayEventData* TriggerEventData) override;
//GA 입력 기능 만들때
virtual void InputPressed(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo, const FGameplayAbilityActivationInfo ActivationInfo) override;
//GA 입력 끝나면
virtual void InputReleased(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo, const FGameplayAbilityActivationInfo ActivationInfo) override;
//발동 취소 매소드
virtual void CancelAbility(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo, const FGameplayAbilityActivationInfo ActivationInfo, bool bReplicateCancelAbility) override;
//발동 끝난뒤 처리 매소드
virtual void EndAbility(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo, const FGameplayAbilityActivationInfo ActivationInfo, bool bReplicateEndAbility, bool bWasCancelled) override;
//발동 조건 여부를 만들때
virtual bool CanActivateAbility(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo, const FGameplayTagContainer* SourceTags = nullptr, const FGameplayTagContainer* TargetTags = nullptr, OUT FGameplayTagContainer* OptionalRelevantTags = nullptr) const override;
'언리얼5 > 언리얼5 개발' 카테고리의 다른 글
UE5 포트폴리오 1-1 전투스킬구현 (2) | 2024.11.12 |
---|---|
UE Fade 기능 만들기 (2) | 2024.04.06 |
UE Hpbar 만들기 (0) | 2024.03.29 |
UE 헤드업 디스플레이 (공부 정리) (0) | 2024.03.25 |
UE 아이템 시스템 (공부 정리) (0) | 2024.03.24 |