Added basic silencer code

This commit is contained in:
MH261677 2024-01-12 18:50:26 +00:00
parent 6d7c4d236b
commit d66bc0330a
2 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,7 @@ void USilencerAttachmentClass::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.
}

View File

@ -23,4 +23,7 @@ protected:
public:
// Called every frame
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
UPROPERTY(EditAnywhere)
UStaticMeshComponent* SilencerMesh;
};