mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 08:20:32 +00:00
d4ffe9443f
- Removed explicit PCH. - Fixed includes to compile for all supported engine versions, including non-unity builds. - Configured build.cs to treat ImGui as an engine module and added stricter compilation rules.
38 lines
925 B
C++
38 lines
925 B
C++
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
|
|
|
|
#include "ImGuiDelegates.h"
|
|
#include "ImGuiDelegatesContainer.h"
|
|
|
|
#include <Engine/World.h>
|
|
|
|
|
|
FSimpleMulticastDelegate& FImGuiDelegates::OnWorldEarlyDebug()
|
|
{
|
|
return OnWorldEarlyDebug(GWorld);
|
|
}
|
|
|
|
FSimpleMulticastDelegate& FImGuiDelegates::OnWorldEarlyDebug(UWorld* World)
|
|
{
|
|
return FImGuiDelegatesContainer::Get().OnWorldEarlyDebug(World);
|
|
}
|
|
|
|
FSimpleMulticastDelegate& FImGuiDelegates::OnMultiContextEarlyDebug()
|
|
{
|
|
return FImGuiDelegatesContainer::Get().OnMultiContextEarlyDebug();
|
|
}
|
|
|
|
FSimpleMulticastDelegate& FImGuiDelegates::OnWorldDebug()
|
|
{
|
|
return OnWorldDebug(GWorld);
|
|
}
|
|
|
|
FSimpleMulticastDelegate& FImGuiDelegates::OnWorldDebug(UWorld* World)
|
|
{
|
|
return FImGuiDelegatesContainer::Get().OnWorldDebug(World);
|
|
}
|
|
|
|
FSimpleMulticastDelegate& FImGuiDelegates::OnMultiContextDebug()
|
|
{
|
|
return FImGuiDelegatesContainer::Get().OnMultiContextDebug();
|
|
}
|