I’m trying to create a component and use it in the editor.
Here’s the header:
#pragma once
include “CoreMinimal.h”
include “Components/ActorComponent.h”
include “BallExitUpdator.generated.h”UCLASS(meta = (BlueprintSpawnableComponent))
class PADDLE_U5_API UBallExitUpdator : public UActorComponent
{
GENERATED_BODY()public:
// Sets default values for this component’s properties
UBallExitUpdator();protected:
// Called when the game starts
virtual void BeginPlay() override;public:
// Called every frame
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
};
I then re-generate the project files, build the editor with VS from source code, and unfortunately the component does not appear:
What am I doing wrong?