Files
UEProject/Source/ThisWillWork/FindMyActorByName.h
2026-02-01 19:21:47 -07:00

28 lines
705 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "FindMyActorByName.generated.h"
UCLASS()
class THISWILLWORK_API AFindMyActorByName : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AFindMyActorByName();
public:
UFUNCTION(BlueprintCallable, Category = "Utilities") UClass* GetBlueprintActorClassByName(const FString& BlueprintName, const FString& BlueprintPath);
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
};