Change UParticleSystem usage to UNiagaraSystem
This commit is contained in:
parent
2470daa098
commit
cda5b81484
|
@ -125,7 +125,7 @@ TSubclassOf<ADecalActor> AWeapon::GetDecalActor()
|
|||
return DecalActor;
|
||||
}
|
||||
|
||||
UParticleSystem* AWeapon::GetImpactParticleSystem()
|
||||
UNiagaraSystem* AWeapon::GetImpactParticleSystem()
|
||||
{
|
||||
return ImpactParticleSystem;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue