Add OnDamagedHitNiagaraSystem to NakatomiCharacter
This commit is contained in:
parent
8e03d3e27d
commit
e1ae4f60a8
|
@ -257,6 +257,11 @@ bool ANakatomiCharacter::GetCrouched()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UNiagaraSystem* ANakatomiCharacter::GetOnDamagedHitNiagaraSystem()
|
||||||
|
{
|
||||||
|
return OnDamagedHitNiagaraSystem;
|
||||||
|
}
|
||||||
|
|
||||||
void ANakatomiCharacter::CalculateHits(TArray<FHitResult>* hits, FVector* dir)
|
void ANakatomiCharacter::CalculateHits(TArray<FHitResult>* hits, FVector* dir)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,9 @@ public:
|
||||||
UPROPERTY(EditDefaultsOnly)
|
UPROPERTY(EditDefaultsOnly)
|
||||||
TArray<UAnimMontage*> OnDamagedHitAnimMontages;
|
TArray<UAnimMontage*> OnDamagedHitAnimMontages;
|
||||||
|
|
||||||
|
UPROPERTY(EditDefaultsOnly)
|
||||||
|
UNiagaraSystem* OnDamagedHitNiagaraSystem;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Meta = (AllowPrivateAccess = "true"))
|
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Meta = (AllowPrivateAccess = "true"))
|
||||||
UNakatomiCMC* NakatomiCMC;
|
UNakatomiCMC* NakatomiCMC;
|
||||||
|
@ -115,6 +118,8 @@ public:
|
||||||
UFUNCTION(BlueprintCallable)
|
UFUNCTION(BlueprintCallable)
|
||||||
bool GetCrouched();
|
bool GetCrouched();
|
||||||
|
|
||||||
|
UNiagaraSystem* GetOnDamagedHitNiagaraSystem();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void CalculateHits(TArray<FHitResult>* hits, FVector* dir);
|
virtual void CalculateHits(TArray<FHitResult>* hits, FVector* dir);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue