Files
BusyRabbit/Source/BusyRabbit/Public/Level/Actor/BusyStaticResource.h
2025-09-28 01:32:54 +08:00

34 lines
865 B
C++

#pragma once
#include "LuaActor.h"
#include "BusyStaticResource.generated.h"
class USpineSkeletonRendererComponent;
class USpineSkeletonAnimationComponent;
UCLASS(Blueprintable, BlueprintType)
class ABusyStaticResource:public ALuaActor
{
GENERATED_BODY()
public:
ABusyStaticResource();
virtual void BeginPlay() override;
public:
UPROPERTY(EditAnywhere)
TObjectPtr<USceneComponent> RootScene; //场景根组件
/*----------------------------spine相关组件----------------------------*/
UPROPERTY(EditDefaultsOnly)
TObjectPtr<USceneComponent> SpineRoot;
UPROPERTY(EditDefaultsOnly)
TObjectPtr<USpineSkeletonRendererComponent> SpineRenderComponent;
UPROPERTY(EditAnywhere, BlueprintReadOnly)
TObjectPtr<USpineSkeletonAnimationComponent> SpineAnimationComponent;
/*-------------------------------------------------------------------*/
};