2021-09-28 13:33:17 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "GameFramework/Actor.h"
|
|
|
|
|
#include "GenericSmartObject.generated.h"
|
|
|
|
|
|
|
|
|
|
class USmartObjectComponent;
|
|
|
|
|
class USmartObjectRenderingComponent;
|
|
|
|
|
struct FGameplayTagContainer;
|
|
|
|
|
|
|
|
|
|
UCLASS(hidecategories = (Input))
|
|
|
|
|
class SMARTOBJECTSMODULE_API AGenericSmartObject : public AActor
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
public:
|
|
|
|
|
AGenericSmartObject(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
|
|
|
|
|
|
|
|
|
|
#if WITH_EDITOR
|
|
|
|
|
virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
|
|
|
|
|
#endif // WITH_EDITOR
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
UPROPERTY(EditAnywhere, Category = SmartObject, NoClear)
|
2022-08-18 15:08:49 -04:00
|
|
|
TObjectPtr<USmartObjectComponent> SOComponent;
|
2021-09-28 13:33:17 -04:00
|
|
|
|
|
|
|
|
#if WITH_EDITORONLY_DATA
|
|
|
|
|
UPROPERTY(NoClear)
|
2022-08-18 15:08:49 -04:00
|
|
|
TObjectPtr<USmartObjectRenderingComponent> RenderingComponent;
|
2021-09-28 13:33:17 -04:00
|
|
|
#endif // WITH_EDITORONLY_DATA
|
|
|
|
|
};
|