2
3
4
5
9#include "Render/FrameInfo.h"
10#include "World/Components/NativeScriptComponent.h"
11#include "Slate/Imgui/ViewPort/ImguiViewport.h"
12#include "World/World/World.h"
13#include "Core/Event/Event.h"
16#include "Scripts/ViewPortResizeQuerier.h"
17#include "Scripts/WorldPickIDQuerier.h"
18#include "Scripts/WorldMarkQuerier.h"
19#include "Scripts/MainTaskQuerier.h"
25 m_NativeScriptRegister = std::make_unique<NativeScriptRegister>();
27 m_NativeScriptRegister->Register<MainTaskQuerier>();
28 m_NativeScriptRegister->Register<ViewPortResizeQuerier>();
29 m_NativeScriptRegister->Register<WorldPickIDQuerier>();
30 m_NativeScriptRegister->Register<WorldMarkQuerier>();
41
42
43 m_NativeScriptRegister->OnUpdate(ts);
46
47
58 m_NativeScriptRegister->OnEvent(event);
61 nsComp.OnEvent(event);
#define SPICES_PROFILE_ZONE
This Class is the basic Event Class. Inherit from it and create specific event class.
static FrameInfo & Get()
Get FrameInfo.
FrameInfo Class. This class defines the FrameInfo data.
NativeScriptComponent Class. This class defines the specific behaves of NativeScriptComponent....
virtual void OnEvent(Event &event) override
This interface defines the behave on global event function pointer is called.
virtual void OnSystemInitialize() override
This interface defines the behave on specific system initialized. Called when system Pushed to System...
virtual void OnSystemUpdate(TimeStep &ts) override
This interface defines the behave on specific system updated every frame.
virtual void OnSystemShutDown() override
This interface defines the behave on specific system shutdown. Called when system poped from SystemMa...
NativeScriptSystem Class. This class defines the specific behaves of NativeScriptSystem.
This Class handles our engine time step during frames. Global Unique.