// Fill out your copyright notice in the Description page of Project Settings. #include "BaseWeapon.h" // Sets default values ABaseWeapon::ABaseWeapon() { PrimaryActorTick.bCanEverTick = false; Root = CreateDefaultSubobject(TEXT("Root")); RootComponent = Root; WeaponMeshComponent = CreateDefaultSubobject(TEXT("Weapon")); WeaponMeshComponent->SetupAttachment(Root); } // Called when the game starts or when spawned void ABaseWeapon::BeginPlay() { Super::BeginPlay(); } // Called every frame // void ABaseWeapon::Tick(float DeltaTime) // { // Super::Tick(DeltaTime); // }