You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #preflight 62fe7f270601ad0504910c30 [CL 21447894 by Zousar Shaker in ue5-main branch]
32 lines
854 B
C++
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
|
|
};
|