spine-runtimes/spine-ue/Source/SpineUE/MySceneComponent.h
Mario Zechner 120577bfe6 Formatting
2024-04-04 15:27:43 +02:00

28 lines
783 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Components/SceneComponent.h"
#include "CoreMinimal.h"
#include "SpineSkeletonRendererComponent.h"
#include "MySceneComponent.generated.h"
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
class SPINEUE_API UMySceneComponent : public USpineSkeletonRendererComponent {
GENERATED_BODY()
public:
// Sets default values for this component's properties
UMySceneComponent(const FObjectInitializer &ObjectInitializer);
protected:
// Called when the game starts
virtual void BeginPlay() override;
public:
// Called every frame
virtual void
TickComponent(float DeltaTime, ELevelTick TickType,
FActorComponentTickFunction *ThisTickFunction) override;
};