Change UParticleSystem usage to UNiagaraSystem

This commit is contained in:
baz 2024-03-07 02:09:36 +00:00
parent 2470daa098
commit cda5b81484
2 changed files with 4 additions and 3 deletions

View File

@ -125,7 +125,7 @@ TSubclassOf<ADecalActor> AWeapon::GetDecalActor()
return DecalActor;
}
UParticleSystem* AWeapon::GetImpactParticleSystem()
UNiagaraSystem* AWeapon::GetImpactParticleSystem()
{
return ImpactParticleSystem;
}

View File

@ -8,6 +8,7 @@
#include "NakatomiFieldSystemActor.h"
#include "WeaponProperties.h"
#include "WeaponThrowable.h"
#include "NiagaraSystem.h"
#include "Weapon.generated.h"
class ANakatomiCharacter;
@ -56,7 +57,7 @@ protected:
TSubclassOf<class ADecalActor> DecalActor;
UPROPERTY(EditDefaultsOnly)
UParticleSystem* ImpactParticleSystem;
UNiagaraSystem* ImpactParticleSystem;
public:
// Sets default values for this actor's properties
@ -105,5 +106,5 @@ public:
TSubclassOf<class ADecalActor> GetDecalActor();
UParticleSystem* GetImpactParticleSystem();
UNiagaraSystem* GetImpactParticleSystem();
};