From 28d6f400ef43391461c6d09fd1991a93ae41ad9f Mon Sep 17 00:00:00 2001 From: MH261677 Date: Tue, 19 Mar 2024 13:12:00 +0000 Subject: [PATCH] Created Extended Mag attachment class --- .../ExtendedMagAttachmentClass.cpp | 35 +++++++++++++++++++ .../ExtendedMagAttachmentClass.h | 0 2 files changed, 35 insertions(+) create mode 100644 EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/ExtendedMagAttachmentClass.cpp create mode 100644 EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/ExtendedMagAttachmentClass.h diff --git a/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/ExtendedMagAttachmentClass.cpp b/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/ExtendedMagAttachmentClass.cpp new file mode 100644 index 00000000..945c675a --- /dev/null +++ b/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/ExtendedMagAttachmentClass.cpp @@ -0,0 +1,35 @@ +$COPYRIGHT_LINE$ + + +$MY_HEADER_INCLUDE_DIRECTIVE$ + + +// Sets default values for this component's properties +$PREFIX$$UNPREFIXED_CLASS_NAME$::$PREFIX$$UNPREFIXED_CLASS_NAME$() +{ + // Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features + // off to improve performance if you don't need them. + PrimaryComponentTick.bCanEverTick = true; + + // ... +} + + +// Called when the game starts +void $PREFIX$$UNPREFIXED_CLASS_NAME$::BeginPlay() +{ + Super::BeginPlay(); + + // ... + $END$ +} + + +// Called every frame +void $PREFIX$$UNPREFIXED_CLASS_NAME$::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) +{ + Super::TickComponent(DeltaTime, TickType, ThisTickFunction); + + // ... +} + diff --git a/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/ExtendedMagAttachmentClass.h b/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/ExtendedMagAttachmentClass.h new file mode 100644 index 00000000..e69de29b