Created TangibleComponent
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user