UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WarnIfAssetsLoadedInScope.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
8class UObject;
10struct FAssetData;
11
12#if WITH_EDITOR
13
15{
16public:
19
21
22private:
23 bool IsEnabled() const;
24 void OnAssetLoaded(UObject* InObject);
25
26private:
28 TConstArrayView<FAssetData> SpecificAssets;
29
30 struct FLoadEvent
31 {
34 };
35
36 TArray<FLoadEvent> ObjectsLoaded;
37};
38
39#endif
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition IDelegateInstance.h:14
Definition UnrealTemplate.h:321
Definition Array.h:670
Definition Object.h:95
bool IsEnabled()
Definition IAudioLinkFactory.cpp:13
Definition AssetData.h:162
Definition GenericPlatformStackWalk.h:43
Definition SoftObjectPath.h:56