You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
32 lines
832 B
C
32 lines
832 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)
|
||
|
|
USmartObjectComponent* SOComponent;
|
||
|
|
|
||
|
|
#if WITH_EDITORONLY_DATA
|
||
|
|
UPROPERTY(NoClear)
|
||
|
|
USmartObjectRenderingComponent* RenderingComponent;
|
||
|
|
#endif // WITH_EDITORONLY_DATA
|
||
|
|
};
|