Clean initial commit

This commit is contained in:
2026-02-01 19:21:47 -07:00
commit 6a13cdbeed
1681 changed files with 5604 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "MyCustomActorFinder.h"
#include "Engine/World.h"
#include "GameFramework/Actor.h"
#include "EngineUtils.h"
AActor* MyCustomActorFinder::FindActorByName(const FString& ActorName)
{
for (TActorIterator<AActor> It(GetWorld()); It; ++It)
{
AActor* Actor = *It;
if (Actor->GetName() == ActorName)
{
return Actor;
}
}
return nullptr;
}