Integrating latest 47acbe8
This commit is contained in:
+23
-1
@@ -14,10 +14,20 @@
|
||||
|
||||
#include <AzCore/Component/Component.h>
|
||||
|
||||
#include <ScriptCanvas/PerformanceStatistician.h>
|
||||
|
||||
#ifdef IMGUI_ENABLED
|
||||
#include <imgui/imgui.h>
|
||||
#include <ImGuiBus.h>
|
||||
#endif // IMGUI_ENABLED
|
||||
|
||||
namespace ScriptCanvasDeveloper
|
||||
{
|
||||
class SystemComponent
|
||||
: public AZ::Component
|
||||
#ifdef IMGUI_ENABLED
|
||||
, public ImGui::ImGuiUpdateListenerBus::Handler
|
||||
#endif // IMGUI_ENABLED
|
||||
{
|
||||
public:
|
||||
AZ_COMPONENT(SystemComponent, "{46BDD372-8E86-4C0F-B12C-DC271C5DCED1}");
|
||||
@@ -29,10 +39,22 @@ namespace ScriptCanvasDeveloper
|
||||
static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// AZ::Component interface implementation
|
||||
// AZ::Component...
|
||||
void Init() override;
|
||||
void Activate() override;
|
||||
void Deactivate() override;
|
||||
////
|
||||
|
||||
#ifdef IMGUI_ENABLED
|
||||
|
||||
void OnImGuiMainMenuUpdate() override;
|
||||
|
||||
void GraphHistoryListBox();
|
||||
|
||||
void FullPerformanceWindow();
|
||||
|
||||
#endif // IMGUI_ENABLED
|
||||
private:
|
||||
ScriptCanvas::Execution::PerformanceStatistician m_perfStatistician;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user