Change UParticleSystem usage to UNiagaraSystem
This commit is contained in:
parent
2470daa098
commit
cda5b81484
|
@ -125,7 +125,7 @@ TSubclassOf<ADecalActor> AWeapon::GetDecalActor()
|
||||||
return DecalActor;
|
return DecalActor;
|
||||||
}
|
}
|
||||||
|
|
||||||
UParticleSystem* AWeapon::GetImpactParticleSystem()
|
UNiagaraSystem* AWeapon::GetImpactParticleSystem()
|
||||||
{
|
{
|
||||||
return ImpactParticleSystem;
|
return ImpactParticleSystem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include "NakatomiFieldSystemActor.h"
|
#include "NakatomiFieldSystemActor.h"
|
||||||
#include "WeaponProperties.h"
|
#include "WeaponProperties.h"
|
||||||
#include "WeaponThrowable.h"
|
#include "WeaponThrowable.h"
|
||||||
|
#include "NiagaraSystem.h"
|
||||||
#include "Weapon.generated.h"
|
#include "Weapon.generated.h"
|
||||||
|
|
||||||
class ANakatomiCharacter;
|
class ANakatomiCharacter;
|
||||||
|
@ -56,7 +57,7 @@ protected:
|
||||||
TSubclassOf<class ADecalActor> DecalActor;
|
TSubclassOf<class ADecalActor> DecalActor;
|
||||||
|
|
||||||
UPROPERTY(EditDefaultsOnly)
|
UPROPERTY(EditDefaultsOnly)
|
||||||
UParticleSystem* ImpactParticleSystem;
|
UNiagaraSystem* ImpactParticleSystem;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Sets default values for this actor's properties
|
// Sets default values for this actor's properties
|
||||||
|
@ -105,5 +106,5 @@ public:
|
||||||
|
|
||||||
TSubclassOf<class ADecalActor> GetDecalActor();
|
TSubclassOf<class ADecalActor> GetDecalActor();
|
||||||
|
|
||||||
UParticleSystem* GetImpactParticleSystem();
|
UNiagaraSystem* GetImpactParticleSystem();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue