Created TangibleComponent

This commit is contained in:
2023-08-29 19:36:37 -04:00
parent 729b959a33
commit c8db8c44da
7 changed files with 19 additions and 12 deletions

View File

@@ -39,6 +39,10 @@ public:
UFUNCTION(BlueprintCallable)
void ConsoleSendInput(const FString& text);
// The blueprint class TangibleActor
UPROPERTY(EditDefaultsOnly, Category = TangibleClasses)
TSubclassOf<AActor> ClassTangibleActor;
// Transfer console output from the Luprex engine to unreal.
void HandleLuprexConsoleOutput();

View File

@@ -1,10 +1,10 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "LpxTangibleBase.h"
#include "TangibleComponentBase.h"
// Sets default values for this component's properties
ULpxTangibleBase::ULpxTangibleBase()
UTangibleComponentBase::UTangibleComponentBase()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
// off to improve performance if you don't need them.
@@ -15,7 +15,7 @@ ULpxTangibleBase::ULpxTangibleBase()
// Called when the game starts
void ULpxTangibleBase::BeginPlay()
void UTangibleComponentBase::BeginPlay()
{
Super::BeginPlay();
@@ -25,7 +25,7 @@ void ULpxTangibleBase::BeginPlay()
// Called every frame
void ULpxTangibleBase::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
void UTangibleComponentBase::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
{
Super::TickComponent(DeltaTime, TickType, ThisTickFunction);

View File

@@ -4,17 +4,17 @@
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "LpxTangibleBase.generated.h"
#include "TangibleComponentBase.generated.h"
UCLASS(Blueprintable, BlueprintType, ClassGroup = (Custom), meta = (BlueprintSpawnableComponent), ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class INTEGRATION_API ULpxTangibleBase : public UActorComponent
class INTEGRATION_API UTangibleComponentBase : public UActorComponent
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
ULpxTangibleBase();
UTangibleComponentBase();
protected:
// Called when the game starts