// Fill out your copyright notice in the Description page of Project Settings. #include "TangibleComponent.h" #include "TangibleManager.h" UTangibleComponent::UTangibleComponent() { } void UTangibleComponent::Init(UTangibleManager* tm, AActor* a, int64 id) { TangibleManager = tm; OwningActor = a; TangibleId = id; } FString UTangibleComponent::GetTangiblePlane(AActor* actor) { UTangibleComponent* comp = actor->GetComponentByClass(); check(comp != nullptr); return comp->Plane; } void UTangibleComponent::SetTangiblePlane(AActor* actor, const FString& plane) { UTangibleComponent* comp = actor->GetComponentByClass(); check(comp != nullptr); comp->Plane = plane; }