Files
Zousar Shaker 3f4252aa56 ObjectPtr upgrade for engine plugins used from UnrealEditor -allmodules. Automated upgrade process.
#rb none
#preflight 62fe7f270601ad0504910c30

[CL 21447894 by Zousar Shaker in ue5-main branch]
2022-08-18 15:08:49 -04:00

32 lines
854 B
C++

// 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)
TObjectPtr<USmartObjectComponent> SOComponent;
#if WITH_EDITORONLY_DATA
UPROPERTY(NoClear)
TObjectPtr<USmartObjectRenderingComponent> RenderingComponent;
#endif // WITH_EDITORONLY_DATA
};