mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 16:30:32 +00:00
4a9d66889b
- Added to FImGuiDelegates interface early debug delegates called during world tick start. - Delegates are called in fixed order: multi-context early debug, world early debug (called during world tick start), world debug, multi-context debug (called during world post actor tick or if not available, during world tick start). - Removed from build script configuration of debug delegates.
38 lines
928 B
C++
38 lines
928 B
C++
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
|
|
|
|
#include "ImGuiPrivatePCH.h"
|
|
|
|
#include "ImGuiDelegates.h"
|
|
#include "ImGuiDelegatesContainer.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();
|
|
}
|