CelticCraft/Plugins/VoxelFree/Source/Voxel/Public/VoxelUtilities/VoxelExampleUtilities.h

15 lines
271 B
C
Raw Normal View History

2023-07-03 16:17:13 +00:00
// Copyright 2020 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "UObject/UObjectGlobals.h"
namespace FVoxelExampleUtilities
{
template<typename T>
T* LoadExampleObject(const TCHAR* Name)
{
return LoadObject<T>(nullptr, Name, nullptr, LOAD_NoWarn);
}
}