34 lines
865 B
C++
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;
|
|
/*-------------------------------------------------------------------*/
|
|
|
|
};
|