Add OnDamagedHitNiagaraSystem to NakatomiCharacter
This commit is contained in:
parent
8e03d3e27d
commit
e1ae4f60a8
|
@ -257,6 +257,11 @@ bool ANakatomiCharacter::GetCrouched()
|
|||
return false;
|
||||
}
|
||||
|
||||
UNiagaraSystem* ANakatomiCharacter::GetOnDamagedHitNiagaraSystem()
|
||||
{
|
||||
return OnDamagedHitNiagaraSystem;
|
||||
}
|
||||
|
||||
void ANakatomiCharacter::CalculateHits(TArray<FHitResult>* hits, FVector* dir)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue