Add OnDamagedHitNiagaraSystem to NakatomiCharacter

This commit is contained in:
baz 2024-03-07 17:02:20 +00:00
parent 8e03d3e27d
commit e1ae4f60a8
2 changed files with 10 additions and 0 deletions

View File

@ -257,6 +257,11 @@ bool ANakatomiCharacter::GetCrouched()
return false;
}
UNiagaraSystem* ANakatomiCharacter::GetOnDamagedHitNiagaraSystem()
{
return OnDamagedHitNiagaraSystem;
}
void ANakatomiCharacter::CalculateHits(TArray<FHitResult>* hits, FVector* dir)
{
}

View File

@ -45,6 +45,9 @@ public:
UPROPERTY(EditDefaultsOnly)
TArray<UAnimMontage*> OnDamagedHitAnimMontages;
UPROPERTY(EditDefaultsOnly)
UNiagaraSystem* OnDamagedHitNiagaraSystem;
protected:
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Meta = (AllowPrivateAccess = "true"))
UNakatomiCMC* NakatomiCMC;
@ -115,6 +118,8 @@ public:
UFUNCTION(BlueprintCallable)
bool GetCrouched();
UNiagaraSystem* GetOnDamagedHitNiagaraSystem();
protected:
virtual void CalculateHits(TArray<FHitResult>* hits, FVector* dir);