Added basic silencer code
This commit is contained in:
parent
6d7c4d236b
commit
d66bc0330a
@ -20,7 +20,7 @@ void USilencerAttachmentClass::BeginPlay()
|
|||||||
{
|
{
|
||||||
Super::BeginPlay();
|
Super::BeginPlay();
|
||||||
|
|
||||||
// ...
|
// ADD THE LOGIC HERE LATER AFTER DEMO TO ACTUALLY MAKE THE GUN "SILENT" EVEN THO WE HAVE NO AUDIO IN THE GAME.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,4 +23,7 @@ protected:
|
|||||||
public:
|
public:
|
||||||
// Called every frame
|
// Called every frame
|
||||||
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
|
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere)
|
||||||
|
UStaticMeshComponent* SilencerMesh;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user