Skip to content

Instantly share code, notes, and snippets.

@sleeptightAnsiC
sleeptightAnsiC / ActorSingleton.cpp
Last active August 29, 2023 20:08
UE5 ActorSingleton
#include "ActorSingleton.h"
#include "Kismet/GameplayStatics.h"
#include "Subsystems/EditorActorSubsystem.h"
#include "Editor.h"
DEFINE_LOG_CATEGORY(ActorSingleton);
void AActorSingleton::OnConstruction(const FTransform& Transform)
{